diff rust/hg-core/src/matchers.rs @ 52306:a876ab6c3fd5

rust: fix `cargo doc` warnings It makes sense to keep our doc build happy, even if it is lacking.
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 04 Nov 2024 15:17:54 +0100
parents 22d24f6d6411
children 2ff004fb491c
line wrap: on
line diff
--- a/rust/hg-core/src/matchers.rs	Mon Nov 04 13:43:36 2024 +0100
+++ b/rust/hg-core/src/matchers.rs	Mon Nov 04 15:17:54 2024 +0100
@@ -39,7 +39,7 @@
     /// Visit this directory and probably its children
     This,
     /// Only visit the children (both files and directories) if they
-    /// are mentioned in this set. (empty set corresponds to [Empty])
+    /// are mentioned in this set. (empty set corresponds to [`Self::Empty`])
     /// TODO Should we implement a `NonEmptyHashSet`?
     Set(HashSet<HgPathBuf>),
     /// Visit this directory and all subdirectories