diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-20 08:51:43 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-20 08:51:43 +0800 |
| commit | ff1e3262641529468841c531795df0fed8b08350 (patch) | |
| tree | 540d64a0ee9d9443999322b125dfade0b716b480 /arg_picker/src/constants.rs | |
| parent | 4a4591affcdb9fef4025e1493546ea77132ce7d2 (diff) | |
Diffstat (limited to 'arg_picker/src/constants.rs')
| -rw-r--r-- | arg_picker/src/constants.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arg_picker/src/constants.rs b/arg_picker/src/constants.rs deleted file mode 100644 index 0dcdc45..0000000 --- a/arg_picker/src/constants.rs +++ /dev/null @@ -1,17 +0,0 @@ -// Doc Not Optimize -use std::marker::PhantomData; - -use crate::{PickerArg, PickerArgs}; - -/// Remaining positional arguments (anything not consumed as an option). -/// - `full`: `[]` (empty — not triggered by any `--` prefix). -/// - `short`: (none) -/// - `positional`: `false` (this is a meta‑argument that collects everything left). -/// This constant is used internally to access any leftover arguments after -/// all defined flags/options have been processed. -pub const REMAINS: PickerArg<PickerArgs> = PickerArg::<PickerArgs> { - full: &[], - short: None, - positional: false, - internal_type: PhantomData, -}; |
