conlang: Use interned strings (Sym) for all symbols
This commit is contained in:
@@ -471,7 +471,7 @@ pub mod yamlify {
|
||||
}
|
||||
impl Yamlify for Fielder {
|
||||
fn yaml(&self, y: &mut Yamler) {
|
||||
let Self { name: Identifier(name), init } = self;
|
||||
let Self { name, init } = self;
|
||||
y.key("Fielder").pair("name", name).pair("init", init);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user