diff options
| author | Taiki Endo <te316e89@gmail.com> | 2019-02-09 01:36:22 +0900 |
|---|---|---|
| committer | Taiki Endo <te316e89@gmail.com> | 2019-02-09 01:36:22 +0900 |
| commit | 3e2b5a4b08d9647f7438f4e945d4c8b37c36a58c (patch) | |
| tree | 72ebf2fe2dd1821c3775916565ab37aee21b019d /src/librustc_data_structures/owning_ref | |
| parent | 43e04fb5522642b6b5230592934e9ee100f2fd56 (diff) | |
| download | rust-3e2b5a4b08d9647f7438f4e945d4c8b37c36a58c.tar.gz rust-3e2b5a4b08d9647f7438f4e945d4c8b37c36a58c.zip | |
librustc_data_structures => 2018
Diffstat (limited to 'src/librustc_data_structures/owning_ref')
| -rw-r--r-- | src/librustc_data_structures/owning_ref/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_data_structures/owning_ref/mod.rs b/src/librustc_data_structures/owning_ref/mod.rs index 0b126e5c572..30e510cc5b0 100644 --- a/src/librustc_data_structures/owning_ref/mod.rs +++ b/src/librustc_data_structures/owning_ref/mod.rs @@ -1002,7 +1002,7 @@ impl<O, T: ?Sized> Debug for OwningRef<O, T> where O: Debug, T: Debug, { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!(f, "OwningRef {{ owner: {:?}, reference: {:?} }}", self.owner(), @@ -1014,7 +1014,7 @@ impl<O, T: ?Sized> Debug for OwningRefMut<O, T> where O: Debug, T: Debug, { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!(f, "OwningRefMut {{ owner: {:?}, reference: {:?} }}", self.owner(), @@ -1047,7 +1047,7 @@ unsafe impl<O, T: ?Sized> Sync for OwningRefMut<O, T> where O: Sync, for<'a> (&'a mut T): Sync {} impl Debug for dyn Erased { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!(f, "<Erased>",) } } |
