]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #100953 - joshtriplett:write-docs, r=Mark-Simulacrum
authorYuki Okushi <jtitor@2k36.org>
Sat, 27 Aug 2022 04:14:20 +0000 (13:14 +0900)
committerGitHub <noreply@github.com>
Sat, 27 Aug 2022 04:14:20 +0000 (13:14 +0900)
commitf4d4a40a7c9f967d972e5fab65d026c4e5d175ee
tree1b01a78d4ddf821573583fcec5642ac92a3beb7c
parente31bedc9cf52490f4228c84e652ef5387184f75a
parentae937cc347b1f1290a9a8208d1896ed366247109
Rollup merge of #100953 - joshtriplett:write-docs, r=Mark-Simulacrum

Update documentation for `write!` and `writeln!`

https://github.com/rust-lang/rust/pull/37472 added this documentation, but it
needs updating:

- Remove some documentation duplicated between `writeln!` and `write!`
- Update `write!` docs: can now import traits as `_` to avoid conflicts
- Expand example to show how to implement qualified trait names