chore: updating newfound lints
This commit is contained in:
parent
e9c809bf28
commit
485497973f
2 changed files with 264 additions and 270 deletions
|
|
@ -1249,7 +1249,8 @@ impl ShapeLine {
|
|||
let trailing_blank = span
|
||||
.words
|
||||
.get(i + 1)
|
||||
.map_or(false, |previous_word| previous_word.blank);
|
||||
.is_some_and(|previous_word| previous_word.blank);
|
||||
|
||||
if trailing_blank {
|
||||
number_of_blanks = number_of_blanks.saturating_sub(1);
|
||||
add_to_visual_line(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue