mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-31 13:07:46 +00:00
Formatting
This commit is contained in:
parent
e8dcca1872
commit
46e2c14f07
2 changed files with 8 additions and 4 deletions
|
@ -79,7 +79,7 @@ pub trait Args: Iterator<Item = OsString> + Sized {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T: Iterator<Item = OsString> + Sized> Args for T { }
|
||||
impl<T: Iterator<Item = OsString> + Sized> Args for T {}
|
||||
|
||||
// args() ...
|
||||
pub fn args() -> impl Iterator<Item = String> {
|
||||
|
|
|
@ -180,7 +180,11 @@ macro_rules! msg_opt_only_usable_if {
|
|||
msg_invalid_opt_use!(format!("only usable if {}", $clause), $flag)
|
||||
};
|
||||
($clause:expr, $long_flag:expr, $short_flag:expr) => {
|
||||
msg_invalid_opt_use!(format!("only usable if {}", $clause), $long_flag, $short_flag)
|
||||
msg_invalid_opt_use!(
|
||||
format!("only usable if {}", $clause),
|
||||
$long_flag,
|
||||
$short_flag
|
||||
)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue