1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

more: fix warning from let_and_return lint

This commit is contained in:
Daniel Hofstetter 2025-05-19 10:08:40 +02:00
parent 8674e86703
commit ee665fbebe

View file

@ -900,7 +900,7 @@ mod tests {
if let Some(rows) = self.options.lines {
self.rows = rows;
}
let pager = Pager::new(
Pager::new(
InputType::File(BufReader::new(tmpfile)),
self.rows,
None,
@ -908,8 +908,7 @@ mod tests {
&self.options,
out,
)
.unwrap();
pager
.unwrap()
}
fn silent(mut self) -> Self {