Skip to content

Commit

Permalink
chore: fix typo in code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Oct 2, 2024
1 parent 76eec71 commit a1a3ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_programs/noir_test_success/bounded_vec/src/main.nr
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn good() -> BoundedVec<Field, 10> {

fn bad() {
// Error: Type annotation needed
// The compiller can't infer `MaxLen` from this code.
// The compiler can't infer `MaxLen` from this code.
let mut v3 = BoundedVec::new();
v3.push(5);
}
Expand Down

0 comments on commit a1a3ef6

Please sign in to comment.