chore: cargo clippy
This commit is contained in:
parent
ba373e8697
commit
c1b761a704
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ impl Org {
|
|||
) if level <= new_level
|
||||
// non-last headline must ends with a newline
|
||||
&& (headline.end() == self.document().end()
|
||||
|| replace_with.ends_with(&['\n', '\r'])) =>
|
||||
|| replace_with.ends_with(['\n', '\r'])) =>
|
||||
{
|
||||
self.replace_headline(headline, range, replace_with)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue