Skip to content
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

Bad explanation in "Universal Function Call Syntax" #44

Closed
alexreg opened this issue Dec 27, 2015 · 4 comments
Closed

Bad explanation in "Universal Function Call Syntax" #44

alexreg opened this issue Dec 27, 2015 · 4 comments

Comments

@alexreg
Copy link
Contributor

alexreg commented Dec 27, 2015

In section Angle-bracket Form, there is the following sentence:

The as Trait part is optional if it’s not ambiguous. Same with the angle brackets, hence the shorter form.

This is confusing, since it suggests there is only one abbreviated form, whereas in fact <Trait> is quite different from Type!

@mdinger
Copy link

mdinger commented Dec 27, 2015

He's referring to this.

@alexreg
Copy link
Contributor Author

alexreg commented Dec 27, 2015

Right.

On 27 Dec 2015, at 03:51, mdinger [email protected] wrote:

He's referring to this http://doc.rust-lang.org/nightly/book/ufcs.html#angle-bracket-form.


Reply to this email directly or view it on GitHub #44 (comment).

@steveklabnik
Copy link
Member

This chapter hasn't actually editing done to it yet, and is going to be re-written almost entirely, actually. it might even disappear on its own. As such, I'm going to give it a close. Thanks for pointing this out, though!

@alexreg
Copy link
Contributor Author

alexreg commented Dec 28, 2015

No worries, and fair enough!

On 28 Dec 2015, at 00:43, Steve Klabnik [email protected] wrote:

This chapter hasn't actually editing done to it yet, and is going to be re-written almost entirely, actually. it might even disappear on its own. As such, I'm going to give it a close. Thanks for pointing this out, though!


Reply to this email directly or view it on GitHub #44 (comment).

amitu pushed a commit to FifthTry/rust-book that referenced this issue Jun 1, 2021
AbrarNitk pushed a commit to FifthTry/rust-book that referenced this issue Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants