diff options
| author | Amos Wenger <amoswenger@gmail.com> | 2022-07-20 15:02:08 +0200 |
|---|---|---|
| committer | Amos Wenger <amoswenger@gmail.com> | 2022-07-20 15:02:08 +0200 |
| commit | 816f7fe12a8584eb4bdd48ff3da8e4fc95f571a0 (patch) | |
| tree | a855b8bf05bb903a03de17a6842d32c89abcea1d /crates/syntax/src/syntax_error.rs | |
| parent | 23d25a3094ec89fca610cd2e0d3434e36a4f11ab (diff) | |
| download | rust-816f7fe12a8584eb4bdd48ff3da8e4fc95f571a0.tar.gz rust-816f7fe12a8584eb4bdd48ff3da8e4fc95f571a0.zip | |
Run cargo fix --edition-idioms
Diffstat (limited to 'crates/syntax/src/syntax_error.rs')
| -rw-r--r-- | crates/syntax/src/syntax_error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/syntax_error.rs b/crates/syntax/src/syntax_error.rs index 940b7f0a242..dc6130bd641 100644 --- a/crates/syntax/src/syntax_error.rs +++ b/crates/syntax/src/syntax_error.rs @@ -38,7 +38,7 @@ impl SyntaxError { } impl fmt::Display for SyntaxError { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { self.0.fmt(f) } } |
