We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
T
HasArea
area
Actually the parameter is not a function, so I think that there should be something like structure or other word. Am I correct?
structure
The text was updated successfully, but these errors were encountered:
I'd say type, yes. Thanks for this! i'd happily take a PR to fix it :)
type
Sorry, something went wrong.
I'm on it! :-)
Changed word function to type in comment of fn area
function
d558f46
Closes rust-lang#1130 Function area is taking generic type instead of function, so word `type` is correct in that scenario as suggested by @steveklabnik in issue rust-lang#1130 Signed-off-by: Bart Smykla <[email protected]>
@steveklabnik done: #1132
No branches or pull requests
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:
Actually the parameter is not a function, so I think that there should be something like
structure
or other word. Am I correct?The text was updated successfully, but these errors were encountered: