]> git.lizzy.rs Git - rust.git/commitdiff
Spellfix for Debug trait
authorPyfisch <pyfisch@gmail.com>
Sat, 24 Jan 2015 13:54:43 +0000 (14:54 +0100)
committerPyfisch <pyfisch@gmail.com>
Sat, 24 Jan 2015 13:54:43 +0000 (14:54 +0100)
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

index 0e8d31a62eed99f3c0cbab5a048d903ea4020327..d4ffea3371ef81ad594e5031d393a295da47cc88 100644 (file)
@@ -231,7 +231,7 @@ fn fmt(&self, fmt: &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.
 #[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 {