aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mingling_picker/src/parselib/pos_matcher.rs2
-rw-r--r--mingling_picker/src/parselib/single_matcher.rs2
-rw-r--r--mingling_picker/src/parselib/utils.rs2
-rw-r--r--mingling_picker/src/pickable.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/mingling_picker/src/parselib/pos_matcher.rs b/mingling_picker/src/parselib/pos_matcher.rs
index a7052d4..279e01e 100644
--- a/mingling_picker/src/parselib/pos_matcher.rs
+++ b/mingling_picker/src/parselib/pos_matcher.rs
@@ -9,7 +9,7 @@ use crate::{matcher_needed::*, parselib::seek_end_of_options};
/// prefix (those belong to named matchers).
/// * After `--`: takes **everything** — the `--` marker signals that all
/// remaining values are positional, even if they look like flags.
-/// * Runs at the lowest priority (see [`PickerArgAttr::Positional`]).
+/// * Runs at the lowest priority (see [`PickerArgAttr::Positional`](crate::PickerArgAttr::Positional)).
pub struct PositionalMatcher;
impl PositionalMatcher {
diff --git a/mingling_picker/src/parselib/single_matcher.rs b/mingling_picker/src/parselib/single_matcher.rs
index a148ba2..25c4741 100644
--- a/mingling_picker/src/parselib/single_matcher.rs
+++ b/mingling_picker/src/parselib/single_matcher.rs
@@ -6,7 +6,7 @@ use crate::parselib::{ArgMatcher, Matcher, ParserStyle, PositionalMatcher};
/// It delegates to [`PositionalMatcher`] for positional args and
/// [`ArgMatcher`] for named args, adding a guard: if a named flag
/// captures only itself with no inline value (eq mode), the result
-/// is cleared so that [`Pickable::pick`] receives `[]` → `NotFound`.
+/// is cleared so that [`Pickable::pick`](crate::Pickable::pick) receives `[]` → `NotFound`.
///
/// This is the standard tag implementation for all `Single`-type
/// `Pickable` implementations (e.g., `String`, `i32`, `u64`).
diff --git a/mingling_picker/src/parselib/utils.rs b/mingling_picker/src/parselib/utils.rs
index 4fd34b7..603cace 100644
--- a/mingling_picker/src/parselib/utils.rs
+++ b/mingling_picker/src/parselib/utils.rs
@@ -26,7 +26,7 @@ pub fn build_possible_flags(style: &ParserStyle, arg_info: &PickerArgInfo) -> Ve
possible_flags
}
-/// Extract a single value from the raw strings tagged by [`SingleMatcher`].
+/// Extract a single value from the raw strings tagged by [`SingleMatcher`](crate::parselib::SingleMatcher).
///
/// Returns `None` if no value is available (empty slice),
/// the inline value after the style separator if present (eq mode),
diff --git a/mingling_picker/src/pickable.rs b/mingling_picker/src/pickable.rs
index 463edc0..959aad8 100644
--- a/mingling_picker/src/pickable.rs
+++ b/mingling_picker/src/pickable.rs
@@ -77,7 +77,7 @@ pub struct TagPhaseContext<'a> {
/// to be parsed.
pub arg_info: &'a PickerArgInfo<'a>,
- /// A read-only list of all arguments in the current [`Picker`].
+ /// A read-only list of all arguments in the current [`Picker`](crate::Picker).
pub args: &'a PickerArgs<'a>,
/// Mask indicating which argument positions have already been claimed.