mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +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)]
|
||||
pub enum ParseError {
|
||||
Expected(String),
|
||||
RepetitionEmtpyTokenTree,
|
||||
RepetitionEmptyTokenTree,
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||
|
@ -270,7 +270,7 @@ fn validate(pattern: &MetaTemplate) -> Result<(), ParseError> {
|
|||
}
|
||||
false
|
||||
}) {
|
||||
return Err(ParseError::RepetitionEmtpyTokenTree);
|
||||
return Err(ParseError::RepetitionEmptyTokenTree);
|
||||
}
|
||||
}
|
||||
validate(subtree)?
|
||||
|
|
Loading…
Reference in a new issue