diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-17 01:57:16 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-17 01:57:16 +0800 |
| commit | 71ef8a1b94452b94b5e1933f8c4857c333ff4014 (patch) | |
| tree | cacf9bdafea84aad2e3b49c25945ed421ad1a8bb | |
| parent | e1f71061b1f428ac70c3556c9543f290d5ce75a8 (diff) | |
fix: hide internal macro from documentation
Make `vec_string_slice!` private to the crate by adding
`#[doc(hidden)]` attribute, since it is an implementation detail
not intended for public API consumption
| -rw-r--r-- | mingling_picker/src/parselib/utils.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mingling_picker/src/parselib/utils.rs b/mingling_picker/src/parselib/utils.rs index 603cace..726346c 100644 --- a/mingling_picker/src/parselib/utils.rs +++ b/mingling_picker/src/parselib/utils.rs @@ -251,6 +251,7 @@ pub fn vec_string_to_vec_str(input: &[String]) -> Vec<&str> { /// This is useful for converting owned `String` vectors into borrowed `&str` slices /// for functions that take `&[&str]` or similar parameters. #[macro_export] +#[doc(hidden)] macro_rules! vec_string_slice { ($v:expr) => { $v.iter() |
