summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/lsp/capabilities.rs10
-rw-r--r--cli/tools/upgrade.rs2
2 files changed, 6 insertions, 6 deletions
diff --git a/cli/lsp/capabilities.rs b/cli/lsp/capabilities.rs
index e56aa6b87..355f7b6c5 100644
--- a/cli/lsp/capabilities.rs
+++ b/cli/lsp/capabilities.rs
@@ -1,10 +1,10 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
-///!
-///! Provides information about what capabilities that are supported by the
-///! language server, which helps determine what messages are sent from the
-///! client.
-///!
+//!
+//! Provides information about what capabilities that are supported by the
+//! language server, which helps determine what messages are sent from the
+//! client.
+//!
use deno_core::serde_json::json;
use tower_lsp::lsp_types::*;
diff --git a/cli/tools/upgrade.rs b/cli/tools/upgrade.rs
index a6bc2975b..b371731c3 100644
--- a/cli/tools/upgrade.rs
+++ b/cli/tools/upgrade.rs
@@ -334,7 +334,7 @@ pub async fn upgrade(
};
let current_is_most_recent = if upgrade_flags.canary {
- let latest_hash = latest_version.clone();
+ let latest_hash = &latest_version;
crate::version::GIT_COMMIT_HASH == latest_hash
} else if !crate::version::is_canary() {
let current = Version::parse_standard(crate::version::deno()).unwrap();