This commit is contained in:
vms 2020-08-27 00:00:05 +03:00
parent 78ef68b5eb
commit 010cebcb18

View File

@ -85,7 +85,7 @@ impl ToString for &InterfaceType {
impl ToString for &RecordType {
fn to_string(&self) -> String {
format!(
"record {} {{\n{fields}\n}}",
"record {} {{\n{fields}}}",
self.name,
fields = self
.fields