Skip to content

Commit 5a7d865

Browse files
committed
Minor bug fixes
1 parent 66c9e07 commit 5a7d865

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rust/bufferfish/src/compiler.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,10 @@ fn get_bufferfish_write_fn(ty: Type, value_accessor: &str) -> String {
281281
Some("bool") => format!("bf.writeBool({})", value_accessor),
282282
Some("String") => format!("bf.writeString({})", value_accessor),
283283
Some(custom) => format!("encode{}(bf, {})", custom, value_accessor),
284-
_ => format!("unknown", value_accessor),
284+
_ => format!("/* Unsupported type for {} */", value_accessor),
285285
}
286286
}
287-
_ => format!("unknown", value_accessor),
287+
_ => format!("/* Unsupported type for {} */", value_accessor),
288288
}
289289
}
290290

0 commit comments

Comments
 (0)