diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-03-01 09:34:11 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-03-31 12:56:51 +0200 |
| commit | 379c380a60e7b3adb6c6f595222cbfa2d9160a20 (patch) | |
| tree | f61f13cb864088ab83185775b34837c20211ce93 /src/libstd/thread/mod.rs | |
| parent | cee58fdc12bea8cc373366bd84fc786277729b1c (diff) | |
| download | rust-379c380a60e7b3adb6c6f595222cbfa2d9160a20.tar.gz rust-379c380a60e7b3adb6c6f595222cbfa2d9160a20.zip | |
libstd: deny(elided_lifetimes_in_paths)
Diffstat (limited to 'src/libstd/thread/mod.rs')
| -rw-r--r-- | src/libstd/thread/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index 058fee4484d..cb507971091 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -1256,7 +1256,7 @@ impl Thread { #[stable(feature = "rust1", since = "1.0.0")] impl fmt::Debug for Thread { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("Thread") .field("id", &self.id()) .field("name", &self.name()) @@ -1469,7 +1469,7 @@ impl<T> IntoInner<imp::Thread> for JoinHandle<T> { #[stable(feature = "std_debug", since = "1.16.0")] impl<T> fmt::Debug for JoinHandle<T> { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.pad("JoinHandle { .. }") } } |
