Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang authored Jan 7, 2025
1 parent 222d1b2 commit 4a9d886
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/vm/src/system/memory/offline_checker/columns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl<const N: usize, T> MemoryWriteAuxCols<T, N> {
}

impl<const N: usize, F: FieldAlgebra> MemoryWriteAuxCols<F, N> {
pub fn disabled() -> Self {
pub const fn disabled() -> Self {
Self {
base: MemoryBaseAuxCols {
prev_timestamp: F::ZERO,
Expand Down Expand Up @@ -84,7 +84,7 @@ impl<const N: usize, F: PrimeField32> MemoryReadAuxCols<F, N> {
}

impl<const N: usize, F: FieldAlgebra + Copy> MemoryReadAuxCols<F, N> {
pub fn disabled() -> Self {
pub const fn disabled() -> Self {
Self {
base: MemoryBaseAuxCols {
prev_timestamp: F::ZERO,
Expand Down Expand Up @@ -123,7 +123,7 @@ impl<T> MemoryReadOrImmediateAuxCols<T> {
}

impl<F: FieldAlgebra + Copy> MemoryReadOrImmediateAuxCols<F> {
pub fn disabled() -> Self {
pub const fn disabled() -> Self {
MemoryReadOrImmediateAuxCols {
base: MemoryBaseAuxCols {
prev_timestamp: F::ZERO,
Expand Down

0 comments on commit 4a9d886

Please sign in to comment.