aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-01-15 15:53:01 +0000
committerAleksey Kladov <[email protected]>2020-01-15 15:53:01 +0000
commitaaef88db0e2602e010f78e26a80d974be12c1f71 (patch)
tree90293ca65e09e4560342ec2471ca8c8e6f7bcf8f /crates
parent5b255b4e6b879d5a04d8fac97c0acdc917e32b68 (diff)
Typos
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir/src/source_analyzer.rs2
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/source_analyzer.rs b/crates/ra_hir/src/source_analyzer.rs
index 186dd2411..4f8fc9602 100644
--- a/crates/ra_hir/src/source_analyzer.rs
+++ b/crates/ra_hir/src/source_analyzer.rs
@@ -33,7 +33,7 @@ use crate::{
33}; 33};
34 34
35/// `SourceAnalyzer` is a convenience wrapper which exposes HIR API in terms of 35/// `SourceAnalyzer` is a convenience wrapper which exposes HIR API in terms of
36/// original source files. It should not be used pinside the HIR itself. 36/// original source files. It should not be used inside the HIR itself.
37#[derive(Debug)] 37#[derive(Debug)]
38pub struct SourceAnalyzer { 38pub struct SourceAnalyzer {
39 file_id: HirFileId, 39 file_id: HirFileId,
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs
index e514f9a2c..0411977b9 100644
--- a/crates/ra_ide/src/syntax_highlighting.rs
+++ b/crates/ra_ide/src/syntax_highlighting.rs
@@ -317,7 +317,7 @@ mod tests {
317 use crate::mock_analysis::{single_file, MockAnalysis}; 317 use crate::mock_analysis::{single_file, MockAnalysis};
318 318
319 #[test] 319 #[test]
320 fn te3st_highlighting() { 320 fn test_highlighting() {
321 let (analysis, file_id) = single_file( 321 let (analysis, file_id) = single_file(
322 r#" 322 r#"
323#[derive(Clone, Debug)] 323#[derive(Clone, Debug)]