Skip to content

Conversation

@nulldatamap
Copy link

I changed the documentation examples where write!( f, ... ) is used to write!( f.buf, ... ) since io::Formatter doesn't actually implement io::Writer, but Formatter.buf does.

I changed the documentation examples where `write!( f, ... )` is used to `write!( f.buf, ... )` since `io::Formatter` doesn't actually implement `io::Writer`, but `Formatter.buf` does.
@nulldatamap nulldatamap deleted the patch-1 branch May 21, 2014 13:36
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 20, 2025
Using `#[allow]` will also apply to child HIR nodes, while `#[expect]`
will ensure that the proper HIR node has been used for positioning the
lint.

changelog: none
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

Successfully merging this pull request may close these issues.

1 participant