Rollup merge of #118147 - Nilstrieb:no-redundant-casts, r=WaffleLapkin
Fix some unnecessary casts `x clippy compiler -Aclippy::all -Wclippy::unnecessary_cast --fix` with some manual review to ensure every fix is correct.
This commit is contained in:
commit
040151a4be
10 changed files with 18 additions and 30 deletions
|
@ -189,7 +189,7 @@ impl<'tcx> SymbolMangler<'tcx> {
|
|||
self.push("N");
|
||||
self.out.push(ns);
|
||||
print_prefix(self)?;
|
||||
self.push_disambiguator(disambiguator as u64);
|
||||
self.push_disambiguator(disambiguator);
|
||||
self.push_ident(name);
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue