We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b37ad66 + 6f288ea commit b3f1650Copy full SHA for b3f1650
src/liballoc/string.rs
@@ -2169,7 +2169,7 @@ impl<T: fmt::Display + ?Sized> ToString for T {
2169
use core::fmt::Write;
2170
let mut buf = String::new();
2171
buf.write_fmt(format_args!("{}", self))
2172
- .expect("a Display implementation return an error unexpectedly");
+ .expect("a Display implementation returned an error unexpectedly");
2173
buf.shrink_to_fit();
2174
buf
2175
}
0 commit comments