mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
Clarify comment to fit as _
better
This commit is contained in:
parent
589db1f73a
commit
ae937cc347
@ -457,7 +457,8 @@ macro_rules! r#try {
|
||||
///
|
||||
/// A module can import both `std::fmt::Write` and `std::io::Write` and call `write!` on objects
|
||||
/// implementing either, as objects do not typically implement both. However, the module must
|
||||
/// import the traits qualified so their names do not conflict:
|
||||
/// avoid conflict between the trait names, such as by importing them as `_` or otherwise renaming
|
||||
/// them:
|
||||
///
|
||||
/// ```
|
||||
/// use std::fmt::Write as _;
|
||||
|
Loading…
Reference in New Issue
Block a user