Clippy lint

This commit is contained in:
Jeremy Soller 2025-10-09 12:26:48 -06:00
parent 5cc64c77c1
commit 646e04389e
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA

View file

@ -696,7 +696,7 @@ impl Buffer {
.lines .lines
.last() .last()
.map(|line| line.ending()) .map(|line| line.ending())
.unwrap_or(LineEnding::default()) .unwrap_or_default()
!= LineEnding::None != LineEnding::None
{ {
self.lines.push(BufferLine::new( self.lines.push(BufferLine::new(