code: Fix clippy lnt
This commit is contained in:
parent
dd359235cf
commit
dfe71a61fc
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ impl LpFileModel {
|
||||||
return IndexMap::new();
|
return IndexMap::new();
|
||||||
};
|
};
|
||||||
|
|
||||||
let reduce = if index < n { n - index } else { 0 };
|
let reduce = n.saturating_sub(index);
|
||||||
|
|
||||||
self.imp()
|
self.imp()
|
||||||
.files
|
.files
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue