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

Incorrect documentation for write! in std::fmt #36906

Closed
c4rlo opened this issue Oct 2, 2016 · 0 comments
Closed

Incorrect documentation for write! in std::fmt #36906

c4rlo opened this issue Oct 2, 2016 · 0 comments

Comments

@c4rlo
Copy link
Contributor

c4rlo commented Oct 2, 2016

The std::fmt docs currently say about the write! macro:

Under the hood, this function is actually invoking the write function defined in this module.

But in fact, write! is defined as calling the write_fmt method on its argument, as per its documentation.

wesleywiser added a commit to wesleywiser/rust that referenced this issue Oct 7, 2016
Manishearth added a commit to Manishearth/rust that referenced this issue Oct 8, 2016
Fix documentation for `write!` on `std::fmt` page

Fixes rust-lang#36906
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

2 participants