about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-12-26 14:12:56 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2019-12-26 19:24:45 -0500
commit48859db151b839518bdd9d44a2387c0f6b65d141 (patch)
treeb6baa53fb9e0d98b3b5362e6749364483ed98701 /src/libstd/sys
parent3b92689f3d0c3b90fa01d9873cdf01543d51c000 (diff)
downloadrust-48859db151b839518bdd9d44a2387c0f6b65d141.tar.gz
rust-48859db151b839518bdd9d44a2387c0f6b65d141.zip
Relax bounds on HashSet to match hashbrown
No functional changes are made, and all APIs are moved to strictly less
restrictive bounds.

These APIs changed from the old bound listed to the new bound:

T: Hash + Eq -> T
* new
* with_capacity

T: Eq + Hash, S: BuildHasher -> T
* with_hasher
* with_capacity_and_hasher
* hasher

T: Eq + Hash + Debug -> T: Debug
S: BuildHasher -> S
<HashSet as Debug>

T: Eq + Hash -> T
S: BuildHasher + Default -> S: Default
<HashSet as Default>
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions