mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
more: fix warning from let_and_return lint
This commit is contained in:
parent
8674e86703
commit
ee665fbebe
1 changed files with 2 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue