diff options
author | Luca Casonato <hello@lcas.dev> | 2022-05-13 01:12:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 01:12:55 +0200 |
commit | 0ee76da07b12fba38962634e65853d73adf9d4c0 (patch) | |
tree | 49ab40c5662c0d8820c7973ff788139ad3c5e62c /cli/tools/lint.rs | |
parent | 6fff813029b47c0ca9497aaba5920f8acf981772 (diff) |
chore: update to rust 1.60.0 & update Cargo.lock (#14260)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
Diffstat (limited to 'cli/tools/lint.rs')
-rw-r--r-- | cli/tools/lint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/lint.rs b/cli/tools/lint.rs index 4f5ad0fe8..f251dc647 100644 --- a/cli/tools/lint.rs +++ b/cli/tools/lint.rs @@ -508,7 +508,7 @@ impl LintReporter for JsonLintReporter { } } -fn sort_diagnostics(diagnostics: &mut Vec<LintDiagnostic>) { +fn sort_diagnostics(diagnostics: &mut [LintDiagnostic]) { // Sort so that we guarantee a deterministic output which is useful for tests diagnostics.sort_by(|a, b| { use std::cmp::Ordering; |