aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)]