This commit is contained in:
Aleksey Kladov 2020-01-15 16:53:01 +01:00
parent 5b255b4e6b
commit aaef88db0e
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ use crate::{
}; };
/// `SourceAnalyzer` is a convenience wrapper which exposes HIR API in terms of /// `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)] #[derive(Debug)]
pub struct SourceAnalyzer { pub struct SourceAnalyzer {
file_id: HirFileId, file_id: HirFileId,

View file

@ -317,7 +317,7 @@ mod tests {
use crate::mock_analysis::{single_file, MockAnalysis}; use crate::mock_analysis::{single_file, MockAnalysis};
#[test] #[test]
fn te3st_highlighting() { fn test_highlighting() {
let (analysis, file_id) = single_file( let (analysis, file_id) = single_file(
r#" r#"
#[derive(Clone, Debug)] #[derive(Clone, Debug)]