mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 11:47:13 +00:00

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.