Apply more suggestions.
This commit is contained in:
@@ -43,7 +43,7 @@ pub(crate) fn target<'b, 'g, 'r, 's>(
|
||||
.expect("We cannot be at the start of the file because we are inside a target.");
|
||||
if preceding_character.is_whitespace() {
|
||||
return Err(nom::Err::Error(CustomError::MyError(MyError(
|
||||
"Targets cannot end with whitespace.".into(),
|
||||
"Targets cannot end with whitespace.",
|
||||
))));
|
||||
}
|
||||
let (remaining, _) = tag(">>")(remaining)?;
|
||||
|
||||
Reference in New Issue
Block a user