aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src
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_analysis/src
parent4dbf0379ccd5c7643d48658f0ecc224add5a5c5c (diff)
Clippy lint: single-character string constant
Diffstat (limited to 'crates/ra_analysis/src')
-rw-r--r--crates/ra_analysis/src/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs
index f1403cb5d..9b0d935af 100644
--- a/crates/ra_analysis/src/imp.rs
+++ b/crates/ra_analysis/src/imp.rs
@@ -388,7 +388,7 @@ impl AnalysisImpl {
388 .text() 388 .text()
389 .slice(range_search) 389 .slice(range_search)
390 .to_string() 390 .to_string()
391 .matches(",") 391 .matches(',')
392 .count(); 392 .count();
393 393
394 // If we have a method call eat the first param since it's just self. 394 // If we have a method call eat the first param since it's just self.