Fixed typos in public type names

This commit is contained in:
Vincent Esche 2021-01-08 15:42:40 +01:00
parent 5877db28b4
commit 586f84c730

View file

@ -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)?