style: run cargo clippy
This commit is contained in:
parent
e924359df6
commit
c4d9aa4c51
2 changed files with 2 additions and 2 deletions
|
|
@ -220,7 +220,7 @@ fn list_item_content_node(input: Input, indent: usize) -> IResult<Input, (bool,
|
|||
match get_line_indent(input.as_str()) {
|
||||
Some(next_indent) => {
|
||||
if next_indent <= indent {
|
||||
let (input, head) = previous_blank_line.unwrap_or_else(|| (input, head));
|
||||
let (input, head) = previous_blank_line.unwrap_or((input, head));
|
||||
if !head.is_empty() {
|
||||
children.extend(paragraph_nodes(head)?);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue