diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-11 23:48:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 23:48:00 -0400 |
commit | ad6b00a2bf061a90c72737d0ecc4a58bb0a89550 (patch) | |
tree | daf342fa1d0dcde202a116ac010f310ba4321fa9 /cli/lsp/registries.rs | |
parent | c38c14f51f2edc8d25f349de52fc1268b97b59b2 (diff) |
chore: enable clippy unused_async rule (#22834)
Diffstat (limited to 'cli/lsp/registries.rs')
-rw-r--r-- | cli/lsp/registries.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/registries.rs b/cli/lsp/registries.rs index 2b0cae7d2..b0eeb9df0 100644 --- a/cli/lsp/registries.rs +++ b/cli/lsp/registries.rs @@ -488,7 +488,7 @@ impl ModuleRegistry { } /// Disable a registry, removing its configuration, if any, from memory. - pub async fn disable(&mut self, origin: &str) -> Result<(), AnyError> { + pub fn disable(&mut self, origin: &str) -> Result<(), AnyError> { let origin = base_url(&Url::parse(origin)?); self.origins.remove(&origin); Ok(()) |