Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Mar 25, 2024
1 parent 4005c74 commit 9286b4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/candid/src/types/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@ pub fn text_size(t: &Type, limit: i32) -> Result<i32, ()> {
}
10 + cnt
}
Future | Unknown => 7,
Future => 6,
Unknown => 7,
Class(..) => unreachable!(),
};
if cost > limit {
Expand Down

0 comments on commit 9286b4e

Please sign in to comment.