From 0736ad3c2abdd899eb625fc8bfdc632b876abe5a Mon Sep 17 00:00:00 2001 From: Pyfisch Date: Sat, 24 Jan 2015 14:54:43 +0100 Subject: [PATCH] Spellfix for Debug trait Spellfix for `Debug` trait documentation. Change "most all types should implement this" to "all types should implement this". Same fix for deprecated `Show` trait. --- src/libcore/fmt/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs index 0e8d31a62ee..d4ffea3371e 100644 --- a/src/libcore/fmt/mod.rs +++ b/src/libcore/fmt/mod.rs @@ -231,7 +231,7 @@ impl<'a> Display for Arguments<'a> { } } -/// Format trait for the `:?` format. Useful for debugging, most all types +/// Format trait for the `:?` format. Useful for debugging, all types /// should implement this. #[deprecated = "renamed to Debug"] #[cfg(not(stage0))] @@ -240,7 +240,7 @@ pub trait Show { fn fmt(&self, &mut Formatter) -> Result; } -/// Format trait for the `:?` format. Useful for debugging, most all types +/// Format trait for the `:?` format. Useful for debugging, all types /// should implement this. #[unstable = "I/O and core have yet to be reconciled"] pub trait Debug {