Skip to content

generics2 is a bit too easy #362

@sapir

Description

@sapir

The struct is actually generic over u32:

struct Wrapper<u32> {
    value: u32
}

so no modifications to the struct are necessary to complete the exercise. You only have to comment out the old assert and uncomment the new one and you're done.

The example struct definition should probably be

struct Wrapper {
    value: u32
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions