We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
new
DefautHasher
1 parent 9cba260 commit 1c2c336Copy full SHA for 1c2c336
library/std/src/collections/hash/map.rs
@@ -2836,11 +2836,10 @@ impl DefaultHasher {
2836
2837
#[stable(feature = "hashmap_default_hasher", since = "1.13.0")]
2838
impl Default for DefaultHasher {
2839
- // FIXME: here should link `new` to [DefaultHasher::new], but it occurs intra-doc link
2840
- // resolution failure when re-exporting libstd items. When #56922 fixed,
2841
- // link `new` to [DefaultHasher::new] again.
2842
- /// Creates a new `DefaultHasher` using `new`.
+ /// Creates a new `DefaultHasher` using [`new`].
2843
/// See its documentation for more.
+ ///
+ /// [`new`]: DefaultHasher::new
2844
fn default() -> DefaultHasher {
2845
DefaultHasher::new()
2846
}
0 commit comments