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/tsc.rs | |
parent | c38c14f51f2edc8d25f349de52fc1268b97b59b2 (diff) |
chore: enable clippy unused_async rule (#22834)
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r-- | cli/lsp/tsc.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 104024167..3fc78a20f 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -2106,7 +2106,7 @@ pub struct RenameLocations { } impl RenameLocations { - pub async fn into_workspace_edit( + pub fn into_workspace_edit( self, new_name: &str, language_server: &language_server::Inner, @@ -2226,7 +2226,7 @@ impl DefinitionInfoAndBoundSpan { Ok(()) } - pub async fn to_definition( + pub fn to_definition( &self, line_index: Arc<LineIndex>, language_server: &language_server::Inner, @@ -2609,7 +2609,7 @@ impl RefactorEditInfo { Ok(()) } - pub async fn to_workspace_edit( + pub fn to_workspace_edit( &self, language_server: &language_server::Inner, ) -> LspResult<Option<lsp::WorkspaceEdit>> { |