From 3325ff6df47f75cdf4891b35dcaf565f7ffb22cf Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Mon, 29 Jul 2019 12:26:59 -0400 Subject: comments from @lzutao --- src/libcore/str/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore') diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index ee791748c1d..4faf9ff4d2e 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -601,7 +601,7 @@ impl<'a> Iterator for Chars<'a> { } #[stable(feature = "chars_debug_impl", since = "1.38.0")] -impl<'a> fmt::Debug for Chars<'a> { +impl fmt::Debug for Chars<'_> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!(f, "Chars(")?; f.debug_list().entries(self.clone()).finish()?; -- cgit 1.4.1-3-g733a5