mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Typos
This commit is contained in:
parent
5b255b4e6b
commit
aaef88db0e
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue