Use unsigned_abs throughout repository

This commit is contained in:
Jacob Pratt
2021-01-12 20:12:08 -05:00
parent 85394252e6
commit edf2e3725e
5 changed files with 6 additions and 15 deletions

View File

@@ -531,7 +531,7 @@ impl Printer<'tcx> for SymbolMangler<'tcx> {
if val < 0 {
neg = true;
}
Some(val.wrapping_abs() as u128)
Some(val.unsigned_abs())
})
}
_ => {