Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-core/src/config/config_items.rs @ 52342: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 | 0dbf6a5ccf5f |
children |
line wrap: on
line diff
--- a/rust/hg-core/src/config/config_items.rs Mon Nov 04 13:43:36 2024 +0100 +++ b/rust/hg-core/src/config/config_items.rs Mon Nov 04 15:17:54 2024 +0100 @@ -25,9 +25,9 @@ default: Option<DefaultConfigItemType>, /// If the config option is generic (e.g. `merge-tools.*`), defines /// the priority of this item relative to other generic items. - /// If we're looking for <pattern>, then all generic items within the same - /// section will be sorted by order of priority, and the first regex match - /// against `name` is returned. + /// If we're looking for `<pattern>`, then all generic items within the + /// same section will be sorted by order of priority, and the first + /// regex match against `name` is returned. #[serde(default)] priority: Option<isize>, /// Aliases, if any. Each alias is a tuple of `(section, name)` for each