Apply more suggestions.
This commit is contained in:
@@ -233,7 +233,7 @@ fn _script_with_braces_end<'b, 'g, 'r, 's>(
|
||||
if current_depth > 0 {
|
||||
// Its impossible for the next character to end the subscript or superscript if we're any amount of braces deep
|
||||
return Err(nom::Err::Error(CustomError::MyError(MyError(
|
||||
"Not a valid end for subscript or superscript.".into(),
|
||||
"Not a valid end for subscript or superscript.",
|
||||
))));
|
||||
}
|
||||
if current_depth < 0 {
|
||||
@@ -288,6 +288,6 @@ fn _script_with_parenthesis_end<'s>(
|
||||
}
|
||||
}
|
||||
Err(nom::Err::Error(CustomError::MyError(MyError(
|
||||
"No script parenthesis end.".into(),
|
||||
"No script parenthesis end.",
|
||||
))))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user