mirror of
https://github.com/theryangeary/choose
synced 2024-11-22 19:03:05 +00:00
RustFmt
This commit is contained in:
parent
f662219407
commit
c729ad3f00
1 changed files with 8 additions and 11 deletions
|
@ -84,7 +84,6 @@ impl Choice {
|
|||
}
|
||||
|
||||
return slices;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -222,10 +221,8 @@ mod tests {
|
|||
let config = Config::from_iter(vec!["choose", "3:1"]);
|
||||
assert_eq!(
|
||||
vec!["pretty", "is", "lang"],
|
||||
config.opt.choice[0].get_choice_slice(
|
||||
&String::from("rust lang is pretty darn cool"),
|
||||
&config
|
||||
)
|
||||
config.opt.choice[0]
|
||||
.get_choice_slice(&String::from("rust lang is pretty darn cool"), &config)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue