diff options
| author | varkor <github@varkor.com> | 2019-02-07 10:27:56 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-02-07 15:03:20 +0100 |
| commit | b3015abfa0f47261c5db37d48ac135709dbd741a (patch) | |
| tree | 09bd19cab9b64f1c41da36e4344fcb6b49c50be1 /src/libsyntax | |
| parent | 61f35f0641efe60c4e804be046922aa232666797 (diff) | |
| download | rust-b3015abfa0f47261c5db37d48ac135709dbd741a.tar.gz rust-b3015abfa0f47261c5db37d48ac135709dbd741a.zip | |
Fix update to 2018 edition
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index ab3883d2b9b..681d8eeaa0d 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -318,7 +318,7 @@ pub enum ParamKindOrd { } impl fmt::Display for ParamKindOrd { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match self { ParamKindOrd::Lifetime => "lifetime".fmt(f), ParamKindOrd::Type => "type".fmt(f), |
