Skip to content

Commit 7774359

Browse files
committed
Auto merge of #21586 - pyfisch:patch-1, r=alexcrichton
Spellfix for `Debug` trait documentation. Change "most all types should implement this" to "all types should implement this". Same fix for deprecated `Show` trait.
2 parents d77f6d5 + 0736ad3 commit 7774359

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/fmt/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ impl<'a> Display for Arguments<'a> {
231231
}
232232
}
233233

234-
/// Format trait for the `:?` format. Useful for debugging, most all types
234+
/// Format trait for the `:?` format. Useful for debugging, all types
235235
/// should implement this.
236236
#[deprecated = "renamed to Debug"]
237237
#[cfg(not(stage0))]
@@ -240,7 +240,7 @@ pub trait Show {
240240
fn fmt(&self, &mut Formatter) -> Result;
241241
}
242242

243-
/// Format trait for the `:?` format. Useful for debugging, most all types
243+
/// Format trait for the `:?` format. Useful for debugging, all types
244244
/// should implement this.
245245
#[unstable = "I/O and core have yet to be reconciled"]
246246
#[rustc_on_unimplemented = "`{Self}` cannot be formatted using `:?`; if it is defined in your \

0 commit comments

Comments
 (0)