Skip to content

structs2 line 35 throws an error #2228

Open
@Charles-Thacher

Description

@Charles-Thacher

Line 35 throws a "expected String, found &str"

From how the exercise is structured it looks like I am not supposed to edit this line.

I don't know enough Rust to know why it throws this, but I had to Chat GPT this error to get the exercise to function properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions