Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/revlog/nodemap.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 | e98fd81bb151 |
children | f2deaca3450e |
line wrap: on
line diff
--- a/rust/hg-core/src/revlog/nodemap.rs Thu Mar 30 12:21:38 2023 +0200 +++ b/rust/hg-core/src/revlog/nodemap.rs Mon Apr 03 15:32:39 2023 +0200 @@ -69,8 +69,8 @@ /// /// If no Revision matches the given prefix, `Ok(None)` is returned. /// - /// If several Revisions match the given prefix, a [`MultipleResults`] - /// error is returned. + /// If several Revisions match the given prefix, a + /// [MultipleResults](NodeMapError) error is returned. fn find_bin( &self, idx: &impl RevlogIndex, @@ -86,8 +86,8 @@ /// /// Returns `None` if no `Revision` could be found for the prefix. /// - /// If several Revisions match the given prefix, a [`MultipleResults`] - /// error is returned. + /// If several Revisions match the given prefix, a + /// [MultipleResults](NodeMapError) error is returned. fn unique_prefix_len_bin( &self, idx: &impl RevlogIndex, @@ -113,7 +113,7 @@ ) -> Result<(), NodeMapError>; } -/// Low level NodeTree [`Blocks`] elements +/// Low level NodeTree [`Block`] elements /// /// These are exactly as for instance on persistent storage. type RawElement = unaligned::I32Be;