AstBuilder: generate with mutability
This commit is contained in:
parent
d935533b6a
commit
a6c0863deb
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,9 @@ struct Args {
|
|||
fn main() {
|
||||
let args = Args::parse();
|
||||
let params = Params::parse(&args.config);
|
||||
let builder = AstBuilder::from(params);
|
||||
let mut builder = AstBuilder::from(params);
|
||||
|
||||
builder.generate();
|
||||
|
||||
println!("{}", builder.to_string());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue