Apply more suggestions.

This commit is contained in:
Tom Alexander
2023-10-16 17:03:16 -04:00
parent 4ba0e3611b
commit 2dd5246506
9 changed files with 28 additions and 38 deletions

View File

@@ -197,7 +197,7 @@ fn org_mode_table_cell<'b, 'g, 'r, 's>(
let (remaining, (children, _exit_contents)) = verify(
many_till(table_cell_set_object_matcher, exit_matcher),
|(children, exit_contents)| {
!children.is_empty() || Into::<&str>::into(exit_contents).ends_with("|")
!children.is_empty() || Into::<&str>::into(exit_contents).ends_with('|')
},
)(remaining)?;