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:
@@ -117,7 +117,7 @@
|
||||
//! 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