aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server
diff options
context:
space:
mode:
authorAlan Du <[email protected]>2018-10-16 16:45:10 +0100
committerAlan Du <[email protected]>2018-10-18 00:42:23 +0100
commit5db663d61fb8b006e3b84ef3bcc9cddbe94e5f49 (patch)
treeb4b904c3580f975bc69f1f68ff938fe70da11bfa /crates/ra_lsp_server
parent4dbf0379ccd5c7643d48658f0ecc224add5a5c5c (diff)
Clippy lint: single-character string constant
Diffstat (limited to 'crates/ra_lsp_server')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs
index c25b63852..49bd7895a 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -160,8 +160,8 @@ pub fn handle_workspace_symbol(
160 params: req::WorkspaceSymbolParams, 160 params: req::WorkspaceSymbolParams,
161 token: JobToken, 161 token: JobToken,
162) -> Result<Option<Vec<SymbolInformation>>> { 162) -> Result<Option<Vec<SymbolInformation>>> {
163 let all_symbols = params.query.contains("#"); 163 let all_symbols = params.query.contains('#');
164 let libs = params.query.contains("*"); 164 let libs = params.query.contains('*');
165 let query = { 165 let query = {
166 let query: String = params 166 let query: String = params
167 .query 167 .query