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