diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-27 10:43:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 10:43:16 -0500 |
commit | f5840bdcd360ec0bac2501f333e58e25742b1537 (patch) | |
tree | 7eb0818d2cafa0f6824e81b6ed2cfb609830971e /cli/bench/lsp_bench_standalone.rs | |
parent | 1a1faff2f67613ed0b89e1a34e6c3fd02ca6fd83 (diff) |
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/bench/lsp_bench_standalone.rs')
-rw-r--r-- | cli/bench/lsp_bench_standalone.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/lsp_bench_standalone.rs b/cli/bench/lsp_bench_standalone.rs index 080f25e73..e8dc29073 100644 --- a/cli/bench/lsp_bench_standalone.rs +++ b/cli/bench/lsp_bench_standalone.rs @@ -55,7 +55,7 @@ fn incremental_change_wait(bench: &mut Bencher) { let mut document_version: u64 = 0; bench.iter(|| { - let text = format!("m{:05}", document_version); + let text = format!("m{document_version:05}"); client .write_notification( "textDocument/didChange", |