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.
1 parent 850fc6a commit 6f288eaCopy full SHA for 6f288ea
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