diff --git a/crates/ra_hir/src/source_analyzer.rs b/crates/ra_hir/src/source_analyzer.rs index 186dd2411f..4f8fc96020 100644 --- a/crates/ra_hir/src/source_analyzer.rs +++ b/crates/ra_hir/src/source_analyzer.rs @@ -33,7 +33,7 @@ use crate::{ }; /// `SourceAnalyzer` is a convenience wrapper which exposes HIR API in terms of -/// original source files. It should not be used pinside the HIR itself. +/// original source files. It should not be used inside the HIR itself. #[derive(Debug)] pub struct SourceAnalyzer { file_id: HirFileId, diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs index e514f9a2c1..0411977b9e 100644 --- a/crates/ra_ide/src/syntax_highlighting.rs +++ b/crates/ra_ide/src/syntax_highlighting.rs @@ -317,7 +317,7 @@ mod tests { use crate::mock_analysis::{single_file, MockAnalysis}; #[test] - fn te3st_highlighting() { + fn test_highlighting() { let (analysis, file_id) = single_file( r#" #[derive(Clone, Debug)]