about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2018-07-24 16:43:45 -0600
committerGitHub <noreply@github.com>2018-07-24 16:43:45 -0600
commitdab595e96a9dee0b0f41e55504d2f69b0d4b5d6e (patch)
tree5f4a98956776862d3c053ffc63af55269fb7ab68 /src/libstd/sys
parent06ba69d043efd5612aad2aa4903125d34eba17d4 (diff)
parentb1d2a91f3260b5ee045310f4eb28abd2c62773e1 (diff)
downloadrust-dab595e96a9dee0b0f41e55504d2f69b0d4b5d6e.tar.gz
rust-dab595e96a9dee0b0f41e55504d2f69b0d4b5d6e.zip
Rollup merge of #52402 - crepererum:build_hasher_eq, r=sfackler
impl PartialEq+Eq for BuildHasherDefault

`BuildHasherDefault`is only one way of implementing `BuildHasher`. Clearly, every `BuildHasherDefault` for the same type `H` is identical, since it just uses `Default<H>` to construct `H`. In general, this is not true for every `BuildHasher`, so I think it is helpful to implement `PartialEq` and `Eq`.
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions