aboutsummaryrefslogtreecommitdiff
path: root/crates/mbe
diff options
context:
space:
mode:
authorVincent Esche <[email protected]>2021-01-08 14:42:40 +0000
committerVincent Esche <[email protected]>2021-01-09 14:41:29 +0000
commit586f84c73054fe6ec29274ece6d8bc9c9f6d1023 (patch)
tree74e64516378cc00631bbf1090f8d1fd83bc09d9d /crates/mbe
parent5877db28b499eb023aeddf9ceba0edc95b9d73a3 (diff)
Fixed typos in public type names
Diffstat (limited to 'crates/mbe')
-rw-r--r--crates/mbe/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/mbe/src/lib.rs b/crates/mbe/src/lib.rs
index b3472879d..19543d777 100644
--- a/crates/mbe/src/lib.rs
+++ b/crates/mbe/src/lib.rs
@@ -24,7 +24,7 @@ use crate::{
24#[derive(Debug, PartialEq, Eq)] 24#[derive(Debug, PartialEq, Eq)]
25pub enum ParseError { 25pub enum ParseError {
26 Expected(String), 26 Expected(String),
27 RepetitionEmtpyTokenTree, 27 RepetitionEmptyTokenTree,
28} 28}
29 29
30#[derive(Debug, PartialEq, Eq, Clone)] 30#[derive(Debug, PartialEq, Eq, Clone)]
@@ -270,7 +270,7 @@ fn validate(pattern: &MetaTemplate) -> Result<(), ParseError> {
270 } 270 }
271 false 271 false
272 }) { 272 }) {
273 return Err(ParseError::RepetitionEmtpyTokenTree); 273 return Err(ParseError::RepetitionEmptyTokenTree);
274 } 274 }
275 } 275 }
276 validate(subtree)? 276 validate(subtree)?