From 586f84c73054fe6ec29274ece6d8bc9c9f6d1023 Mon Sep 17 00:00:00 2001 From: Vincent Esche Date: Fri, 8 Jan 2021 15:42:40 +0100 Subject: Fixed typos in public type names --- crates/mbe/src/lib.rs | 4 ++-- 1 file 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::{ #[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)? -- cgit v1.2.3