diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-12-10 22:02:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-10 22:02:01 +0100 |
| commit | b3f1650b349599fb17103e23bee5169727d4b71d (patch) | |
| tree | e5777537bf2d146db5cde42fdf0c785d9ae6ad80 /src | |
| parent | b37ad661c75b1d6d138a56efc6cd5b49c3f1f7ac (diff) | |
| parent | 6f288ea33712b34c8eabcd57bb10607ab01f0cdb (diff) | |
| download | rust-b3f1650b349599fb17103e23bee5169727d4b71d.tar.gz rust-b3f1650b349599fb17103e23bee5169727d4b71d.zip | |
Rollup merge of #56656 - BeatButton:liballoc_string_typo, r=Centril
Fix typo
Diffstat (limited to 'src')
| -rw-r--r-- | src/liballoc/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs index 006c602649b..4652c0e7efa 100644 --- a/src/liballoc/string.rs +++ b/src/liballoc/string.rs @@ -2169,7 +2169,7 @@ impl<T: fmt::Display + ?Sized> ToString for T { use core::fmt::Write; let mut buf = String::new(); buf.write_fmt(format_args!("{}", self)) - .expect("a Display implementation return an error unexpectedly"); + .expect("a Display implementation returned an error unexpectedly"); buf.shrink_to_fit(); buf } |
