mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
remove useless casts
This commit is contained in:
parent
aa90d02079
commit
bb083b8202
4 changed files with 10 additions and 13 deletions
|
@ -51,7 +51,7 @@ impl Hasher for NoHashHasher {
|
|||
}
|
||||
|
||||
fn write_u64(&mut self, i: u64) {
|
||||
self.0 = i as u64;
|
||||
self.0 = i;
|
||||
}
|
||||
|
||||
fn write_usize(&mut self, i: usize) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue