-
Notifications
You must be signed in to change notification settings - Fork 13.3k
fmt traits docs should provide more context #25765
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
Comments
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Jul 6, 2015
Each formatting trait now has an example of implementation, as well as a fuller description of what it's supposed to output. It also contains a link to the module-level documentation which Fixes rust-lang#25765
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Jul 6, 2015
Each formatting trait now has an example of implementation, as well as a fuller description of what it's supposed to output. It also contains a link to the module-level documentation which Fixes rust-lang#25765
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Jul 6, 2015
Each formatting trait now has an example of implementation, as well as a fuller description of what it's supposed to output. It also contains a link to the module-level documentation which Fixes rust-lang#25765
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Jul 7, 2015
Each formatting trait now has an example of implementation, as well as a fuller description of what it's supposed to output. It also contains a link to the module-level documentation which Fixes rust-lang#25765
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Someone looking at some code with, say,
#[derive(Debug)]
might search the docs forDebug
and land onDebug
, which doesn't make it immediately obvious what it is for (it currently just says "Format trait for the :? format. Useful for debugging, all types should implement this."). It would be great if each trait had an example of using it to format something and maybe an explicit pointer to the mainstd::fmt
docs.The text was updated successfully, but these errors were encountered: