Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion noir-projects/aztec-nr/aztec/src/macros/utils.nr
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ pub(crate) trait AsStrQuote {
fn as_str_quote(self) -> (Self, u32);
}

impl<let N: u32, Env> AsStrQuote for Quoted {
impl AsStrQuote for Quoted {
// Used to convert an arbitrary quoted type into a quoted string, removing whitespace between tokens
comptime fn as_str_quote(self) -> (Quoted, u32) {
let tokens = self.tokens();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ pub struct PublicImmutable<T, Context> {

/// `WithHash<T>` stores both the packed value (using N fields) and its hash (1 field), requiring N = M + 1 total
/// fields.
impl<T, Context, let M: u32, let N: u32> Storage<N> for PublicImmutable<T, Context>
where
WithHash<T, M>: Packable<N>,
{
impl<T, Context, let N: u32> Storage<N> for PublicImmutable<T, Context> {
fn get_storage_slot(self) -> Field {
self.storage_slot
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ where
}
}

impl<T, let INITIAL_DELAY: u32, let N: u32> Hash for SharedMutableValues<T, INITIAL_DELAY>
impl<T, let INITIAL_DELAY: u32> Hash for SharedMutableValues<T, INITIAL_DELAY>
where
T: Packable<N>,
T: Packable<_>,
{
fn hash(self) -> Field {
poseidon2_hash(self.pack())
Expand Down
Loading