mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
Fixed typos in public type names
This commit is contained in:
parent
5877db28b4
commit
586f84c730
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ use crate::{
|
||||||
#[derive(Debug, PartialEq, Eq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
pub enum ParseError {
|
pub enum ParseError {
|
||||||
Expected(String),
|
Expected(String),
|
||||||
RepetitionEmtpyTokenTree,
|
RepetitionEmptyTokenTree,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||||
|
@ -270,7 +270,7 @@ fn validate(pattern: &MetaTemplate) -> Result<(), ParseError> {
|
||||||
}
|
}
|
||||||
false
|
false
|
||||||
}) {
|
}) {
|
||||||
return Err(ParseError::RepetitionEmtpyTokenTree);
|
return Err(ParseError::RepetitionEmptyTokenTree);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
validate(subtree)?
|
validate(subtree)?
|
||||||
|
|
Loading…
Reference in a new issue