Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/src/utils.rs @ 50412:331a3cbe1c9e
rustdoc: fixed warnings about links
This is the minimal fix making those that actually were supposed
to be links to work (including in private items).
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Mon, 03 Apr 2023 15:32:39 +0200 |
parents | 14b57943ae6d |
children | aba622c7dc7e |
comparison
equal
deleted
inserted
replaced
50411:071a6c1d291e | 50412:331a3cbe1c9e |
---|---|
299 | 299 |
300 /// Return the union of the two given maps, | 300 /// Return the union of the two given maps, |
301 /// calling `merge(key, left_value, right_value)` to resolve keys that exist in | 301 /// calling `merge(key, left_value, right_value)` to resolve keys that exist in |
302 /// both. | 302 /// both. |
303 /// | 303 /// |
304 /// CC https://github.com/bodil/im-rs/issues/166 | 304 /// CC <https://github.com/bodil/im-rs/issues/166> |
305 pub(crate) fn ordmap_union_with_merge<K, V>( | 305 pub(crate) fn ordmap_union_with_merge<K, V>( |
306 left: OrdMap<K, V>, | 306 left: OrdMap<K, V>, |
307 right: OrdMap<K, V>, | 307 right: OrdMap<K, V>, |
308 mut merge: impl FnMut(&K, &V, &V) -> MergeResult<V>, | 308 mut merge: impl FnMut(&K, &V, &V) -> MergeResult<V>, |
309 ) -> OrdMap<K, V> | 309 ) -> OrdMap<K, V> |