Skip to content

Small language mistake probably - in generics/bounds #1130

@bartsmykla

Description

@bartsmykla

Hi Rustaceans! :-)

I'm creating this issue because I'm not a native english speaker and I'm not sure if I'm right, but inside https://github.com/rust-lang/rust-by-example/blob/master/src/generics/bounds.md in lines 52-53 we can see:

// T must implement HasArea. Any function which meets
// the bound can access HasArea's function area.

Actually the parameter is not a function, so I think that there should be something like structure or other word. Am I correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions