This commit is contained in:
Steven Fackler 2020-06-10 16:56:22 -07:00
parent 3e67dbb773
commit c845a3683e

View File

@ -319,12 +319,7 @@ fn make_impl(w: &mut BufWriter<File>, types: &BTreeMap<u32, Type>) {
.unwrap();
for (oid, type_) in types {
writeln!(
w,
" {} => Some(Inner::{}),",
oid, type_.variant
)
.unwrap();
writeln!(w, " {} => Some(Inner::{}),", oid, type_.variant).unwrap();
}
writeln!(
@ -339,12 +334,7 @@ fn make_impl(w: &mut BufWriter<File>, types: &BTreeMap<u32, Type>) {
.unwrap();
for (oid, type_) in types {
writeln!(
w,
" Inner::{} => {},",
type_.variant, oid
)
.unwrap();
writeln!(w, " Inner::{} => {},", type_.variant, oid).unwrap();
}
writeln!(