Make settings::Flags::new consume the Builder.
This makes it more clear what the relationship is between the Builder and the resulting Flags.
This commit is contained in:
@@ -688,7 +688,7 @@ mod tests {
|
||||
builder.finalize();
|
||||
}
|
||||
|
||||
let flags = settings::Flags::new(&settings::builder());
|
||||
let flags = settings::Flags::new(settings::builder());
|
||||
let res = verify_function(&func, &flags);
|
||||
// println!("{}", func.display(None));
|
||||
match res {
|
||||
|
||||
Reference in New Issue
Block a user