Skip to content

Commit

Permalink
Clarify comment to fit as _ better
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtriplett committed Aug 24, 2022
1 parent 589db1f commit ae937cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/core/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 _;
Expand Down

0 comments on commit ae937cc

Please sign in to comment.