diff options
| author | Taiki Endo <te316e89@gmail.com> | 2019-05-04 23:48:57 +0900 |
|---|---|---|
| committer | Taiki Endo <te316e89@gmail.com> | 2019-05-04 23:48:57 +0900 |
| commit | ccb9dac5ed65341bf8d9ce01a83b9aad02f42526 (patch) | |
| tree | 8148c29c67cf4418b404cfc43f913179e399939c /src/libstd/collections | |
| parent | ef9a876f8297e26859469b004047e0946ed10565 (diff) | |
| download | rust-ccb9dac5ed65341bf8d9ce01a83b9aad02f42526.tar.gz rust-ccb9dac5ed65341bf8d9ce01a83b9aad02f42526.zip | |
Fix intra-doc link resolution failure on re-exporting libstd
Diffstat (limited to 'src/libstd/collections')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index f9fb392f9f5..af4f911a784 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -2492,7 +2492,10 @@ impl DefaultHasher { #[stable(feature = "hashmap_default_hasher", since = "1.13.0")] impl Default for DefaultHasher { - /// Creates a new `DefaultHasher` using [`new`][DefaultHasher::new]. + // FIXME: here should link `new` to [DefaultHasher::new], but it occurs intra-doc link + // resolution failure when re-exporting libstd items. When #56922 fixed, + // link `new` to [DefaultHasher::new] again. + /// Creates a new `DefaultHasher` using `new`. /// See its documentation for more. fn default() -> DefaultHasher { DefaultHasher::new() |
