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:
@@ -929,7 +929,7 @@ mod test {
|
||||
|
||||
cfg.compute(cur.func);
|
||||
|
||||
let flags = settings::Flags::new(&settings::builder());
|
||||
let flags = settings::Flags::new(settings::builder());
|
||||
verify_context(cur.func, &cfg, &dt, &flags).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user