Skip to content

Commit ec615f0

Browse files
committed
clippy
1 parent 88e89ca commit ec615f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/screen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ impl Screen {
535535
pub fn row_wrapped(&self, row: u16) -> bool {
536536
self.grid()
537537
.visible_row(row)
538-
.map_or(false, crate::row::Row::wrapped)
538+
.is_some_and(crate::row::Row::wrapped)
539539
}
540540

541541
/// Returns whether the alternate screen is currently in use.

0 commit comments

Comments
 (0)