We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfa4ac6 commit a043acdCopy full SHA for a043acd
library/core/src/hash/mod.rs
@@ -602,7 +602,7 @@ pub trait BuildHasher {
602
/// [`HashSet`]: ../../std/collections/struct.HashSet.html
603
/// [zero-sized]: https://doc.rust-lang.org/nomicon/exotic-sizes.html#zero-sized-types-zsts
604
#[stable(since = "1.7.0", feature = "build_hasher")]
605
-pub struct BuildHasherDefault<H>(marker::PhantomData<H>);
+pub struct BuildHasherDefault<H>(marker::PhantomData<fn() -> H>);
606
607
#[stable(since = "1.9.0", feature = "core_impl_debug")]
608
impl<H> fmt::Debug for BuildHasherDefault<H> {
0 commit comments