doc wording improvements

Co-authored-by: Simon Farnsworth <simon@farnz.org.uk>
This commit is contained in:
Christopher Durham 2024-03-04 19:49:45 -05:00
parent 4dbd2562b4
commit 215a4b6c2d

View File

@ -635,7 +635,7 @@ pub use macros::Debug;
///
/// # Internationalization
///
/// Because a type only has one `Display` implementation, it is often preferable
/// Because a type can only have one `Display` implementation, it is often preferable
/// to only implement `Display` when there is a single most "obvious" way that
/// values can be formatted as text. This could mean formatting according to the
/// "invariant" culture and "undefined" locale, or it could mean that the type