Skip to content

Commit

Permalink
fix semicolon meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
farooqkz committed Mar 5, 2024
1 parent 28cbdf7 commit ee0611d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/parse_from_text/markdown_elements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub(crate) fn delimited_link(input: &str) -> IResult<&str, Element, CustomError<
Err(nom::Err::Error(err)) => {
return Err(nom::Err::Error(CustomError::Nom(err.input, err.code)));
}
}
};
if !rest.is_empty() {
return Err(nom::Err::Error(CustomError::UnexpectedContent));
}
Expand Down

0 comments on commit ee0611d

Please sign in to comment.