##// END OF EJS Templates
rustdoc: fixed warnings about links...
Georges Racinet -
r51272:331a3cbe default
parent child Browse files
Show More
@@ -112,7 +112,7 b' fn check_exec_impl(path: impl AsRef<Path'
112 Ok(false)
112 Ok(false)
113 }
113 }
114
114
115 /// This function is a rust rewrite of [checkexec] function from [posix.py]
115 /// This function is a rust rewrite of `checkexec` function from `posix.py`
116 /// Returns true if the filesystem supports execute permissions.
116 /// Returns true if the filesystem supports execute permissions.
117 pub fn check_exec(path: impl AsRef<Path>) -> bool {
117 pub fn check_exec(path: impl AsRef<Path>) -> bool {
118 check_exec_impl(path).unwrap_or(false)
118 check_exec_impl(path).unwrap_or(false)
@@ -69,8 +69,8 b' pub trait NodeMap {'
69 ///
69 ///
70 /// If no Revision matches the given prefix, `Ok(None)` is returned.
70 /// If no Revision matches the given prefix, `Ok(None)` is returned.
71 ///
71 ///
72 /// If several Revisions match the given prefix, a [`MultipleResults`]
72 /// If several Revisions match the given prefix, a
73 /// error is returned.
73 /// [MultipleResults](NodeMapError) error is returned.
74 fn find_bin(
74 fn find_bin(
75 &self,
75 &self,
76 idx: &impl RevlogIndex,
76 idx: &impl RevlogIndex,
@@ -86,8 +86,8 b' pub trait NodeMap {'
86 ///
86 ///
87 /// Returns `None` if no `Revision` could be found for the prefix.
87 /// Returns `None` if no `Revision` could be found for the prefix.
88 ///
88 ///
89 /// If several Revisions match the given prefix, a [`MultipleResults`]
89 /// If several Revisions match the given prefix, a
90 /// error is returned.
90 /// [MultipleResults](NodeMapError) error is returned.
91 fn unique_prefix_len_bin(
91 fn unique_prefix_len_bin(
92 &self,
92 &self,
93 idx: &impl RevlogIndex,
93 idx: &impl RevlogIndex,
@@ -113,7 +113,7 b' pub trait MutableNodeMap: NodeMap {'
113 ) -> Result<(), NodeMapError>;
113 ) -> Result<(), NodeMapError>;
114 }
114 }
115
115
116 /// Low level NodeTree [`Blocks`] elements
116 /// Low level NodeTree [`Block`] elements
117 ///
117 ///
118 /// These are exactly as for instance on persistent storage.
118 /// These are exactly as for instance on persistent storage.
119 type RawElement = unaligned::I32Be;
119 type RawElement = unaligned::I32Be;
@@ -301,7 +301,7 b' pub(crate) enum MergeResult<V> {'
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>,
@@ -479,7 +479,7 b' impl Extend<u8> for HgPathBuf {'
479 }
479 }
480 }
480 }
481
481
482 /// TODO: Once https://www.mercurial-scm.org/wiki/WindowsUTF8Plan is
482 /// TODO: Once <https://www.mercurial-scm.org/wiki/WindowsUTF8Plan> is
483 /// implemented, these conversion utils will have to work differently depending
483 /// implemented, these conversion utils will have to work differently depending
484 /// on the repository encoding: either `UTF-8` or `MBCS`.
484 /// on the repository encoding: either `UTF-8` or `MBCS`.
485
485
General Comments 0
You need to be logged in to leave comments. Login now