Skip to content

Commit a7d3456

Browse files
theHamstaautozimu
authored andcommitted
Suppress compiler warnings about unused_parens
1 parent 53f5971 commit a7d3456

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/language_server_protocol.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ impl LanguageClient {
12991299
flat.iter().map(QuickfixEntry::from_lsp).collect()
13001300
}
13011301
Some(lsp::DocumentSymbolResponse::Nested(nested)) => {
1302-
<(Vec<QuickfixEntry>)>::from_lsp(&nested)
1302+
<Vec<QuickfixEntry>>::from_lsp(&nested)
13031303
}
13041304
_ => Ok(Vec::new()),
13051305
};
@@ -1318,7 +1318,7 @@ impl LanguageClient {
13181318
flat.iter().map(QuickfixEntry::from_lsp).collect()
13191319
}
13201320
Some(lsp::DocumentSymbolResponse::Nested(nested)) => {
1321-
<(Vec<QuickfixEntry>)>::from_lsp(&nested)
1321+
<Vec<QuickfixEntry>>::from_lsp(&nested)
13221322
}
13231323
_ => Ok(Vec::new()),
13241324
};

0 commit comments

Comments
 (0)