diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2018-12-16 19:16:19 +0100 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2018-12-16 19:16:19 +0100 |
| commit | d35f5bc0b0453c2e98b8398d36bd2ba553edce45 (patch) | |
| tree | cadf6359329573a79e937afcef2972f2cf01f6b4 /src | |
| parent | 56d09a12dd645166af7d6def6b95bf71ae7962bd (diff) | |
use edition idioms in the top crate
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -295,7 +295,7 @@ impl<'a, T> fmt::Debug for Exclusive<'a, T> where T: fmt::Debug, { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { (**self).fmt(f) } } @@ -304,7 +304,7 @@ impl<'a, T> fmt::Display for Exclusive<'a, T> where T: fmt::Display, { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { (**self).fmt(f) } } |
