Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Feb 28, 2024
1 parent e7cdfeb commit 6325f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noir_stdlib/src/collections/bounded_vec.nr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ struct BoundedVec<T, MaxLen> {

impl<T, MaxLen> BoundedVec<T, MaxLen> {
pub fn new() -> Self {
let zeroed = crate::unsafe::zeroed();
let zeroed = crate::unsafe_func::zeroed();
BoundedVec { storage: [zeroed; MaxLen], len: 0 }
}

Expand Down Expand Up @@ -68,7 +68,7 @@ impl<T, MaxLen> BoundedVec<T, MaxLen> {
self.len -= 1;

let elem = self.storage[self.len];
self.storage[self.len] = crate::unsafe::zeroed();
self.storage[self.len] = crate::unsafe_func::zeroed();
elem
}

Expand Down

0 comments on commit 6325f92

Please sign in to comment.