Skip to content

Commit ec77772

Browse files
committed
rustfmt
1 parent d98caaa commit ec77772

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tail_file.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ impl TailFile {
4141
.read_to_end(&mut self.read_buf)
4242
.context("Read tail of log file")?;
4343
if let Some(new_last) = String::from_utf8_lossy(&self.read_buf)
44-
.lines().rfind(|l| !l.trim().is_empty())
44+
.lines()
45+
.rfind(|l| !l.trim().is_empty())
4546
{
4647
new_last.clone_into(&mut self.last_line_seen);
4748
}

0 commit comments

Comments
 (0)