Skip to content

Commit

Permalink
Update rust/candid_parser/src/bindings/motoko.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso authored Mar 18, 2024
1 parent 9477e5a commit 458ba13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rust/candid_parser/src/bindings/motoko.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ fn pp_ty(ty: &Type) -> RcDoc {
}
Principal => str("Principal"),
Opt(ref t) => str("?").append(pp_ty(t)),
// Vec(ref t) if matches!(t.as_ref(), Nat8) => str("Blob"), // Why?
Vec(ref t) => enclose("[", pp_ty(t), "]"),
Record(ref fs) => {
if is_tuple(ty) {
Expand Down

0 comments on commit 458ba13

Please sign in to comment.