summaryrefslogtreecommitdiff
path: root/cli/lsp/repl.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-01-27 10:43:16 -0500
committerGitHub <noreply@github.com>2023-01-27 10:43:16 -0500
commitf5840bdcd360ec0bac2501f333e58e25742b1537 (patch)
tree7eb0818d2cafa0f6824e81b6ed2cfb609830971e /cli/lsp/repl.rs
parent1a1faff2f67613ed0b89e1a34e6c3fd02ca6fd83 (diff)
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/lsp/repl.rs')
-rw-r--r--cli/lsp/repl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/repl.rs b/cli/lsp/repl.rs
index 81e621c13..41a3f993a 100644
--- a/cli/lsp/repl.rs
+++ b/cli/lsp/repl.rs
@@ -188,7 +188,7 @@ impl ReplLanguageServer {
let new_text = if new_text.ends_with('\n') {
new_text.to_string()
} else {
- format!("{}\n", new_text)
+ format!("{new_text}\n")
};
self.document_version += 1;
let current_line_count =