mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
a2d25b4ff7
manually implement `Hash` for `DefId` This might speed up hashing for hashers that can work on individual u64s. Just as an experiment, suggested in a reddit thread on `FxHasher`. cc `@nnethercote` Note that this should not be merged as is without cfg-ing the code path for 64 bits.