-
Notifications
You must be signed in to change notification settings - Fork 13.3k
doc: make explanation easier to undrstand #26976
New issue
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
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -791,8 +791,7 @@ trait Foo { | |||
fn bar(&self); | |||
} | |||
|
|||
// we now declare a function which takes an object with Foo trait implemented | |||
// as parameter | |||
// we now declare a function which takes an object implementing the Foo trait |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"that implements the Foo trait" is probably the right... tense..?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is correct, and it sounds better anyways... having which and that in a sentence sounds awkward.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really agree; but I do agree that this is unambiguously an improvement over the old wording.
@bor r+ rollup |
@bors: r=gankro rollup |
📌 Commit ef8c377 has been approved by |
🙇 |
…=gankro That sentence make me read it a few times before properly understanding it
That sentence make me read it a few times before properly understanding it