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();
|
||||
};
|
||||
|
||||
let reduce = if index < n { n - index } else { 0 };
|
||||
let reduce = n.saturating_sub(index);
|
||||
|
||||
self.imp()
|
||||
.files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue