mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-26 01:50:52 +00:00
Massive lint fix
This commit is contained in:
parent
1a6039aa94
commit
54502ad61b
28 changed files with 117 additions and 122 deletions
|
@ -23,7 +23,7 @@ impl Flags {
|
|||
pub fn collect_from(args: &mut Args) -> Flags {
|
||||
let mut set = Set::new();
|
||||
loop {
|
||||
if let Some(Flag(s)) = args.find().ok() {
|
||||
if let Ok(Flag(s)) = args.find() {
|
||||
set.insert(s);
|
||||
} else {
|
||||
break Flags(set);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue