From 6f288ea33712b34c8eabcd57bb10607ab01f0cdb Mon Sep 17 00:00:00 2001 From: BeatButton Date: Sun, 9 Dec 2018 14:10:20 -0700 Subject: Fix typo --- src/liballoc/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/liballoc/string.rs') 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 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 } -- cgit 1.4.1-3-g733a5