mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 21:40:58 +00:00
updates for clippy 1.62
This commit is contained in:
parent
4523e90bc7
commit
9c856fd5ae
12 changed files with 75 additions and 56 deletions
|
|
@ -29,7 +29,7 @@ impl Length {
|
|||
} else if self.0 > 0 {
|
||||
Kind::Interned(self.0 as usize)
|
||||
} else {
|
||||
Kind::Generated(self.0.abs() as usize)
|
||||
Kind::Generated(self.0.unsigned_abs() as usize)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue