Error CS1513 } expected

I’m very new to Unity but have looked through some threads on this error but still can’t figure out how it applies to my code.
Assets/Platformer.cs(15,22): error CS1513: } expected
Assets/Platformer.cs(15,22): error CS1002: ; expected

I know they mean I’m missing a } and ; on line 15, but I still can’t figure out how to get it to work. When I put them there, I just get more errors.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Platformer : MonoBehaviour
{
    // Start is called before the first frame update
Rigidbody2D rb;
public float speed;

    void Start()
    {

  
    rb = GetComponent,Rigidbody2D();
  
    }

    // Update is called once per frame
    void Update()
 
    {
        Move();
    }

    void Move()
    {
        float x = Input.GetAxisRaw("Horizontal");
        float moveBy = x * speed;
        rb.velocity = new vector2(moveBy, rb.velocity.y);
  
    }
}

Any Ideas? Thanks.

rb = GetComponent<Rigidbody2D>();