From 4a9d88682e229144ef576a0681f6954ede546bf4 Mon Sep 17 00:00:00 2001 From: Jonathan Wang <31040440+jonathanpwang@users.noreply.github.com> Date: Tue, 7 Jan 2025 11:13:17 -0800 Subject: [PATCH] Apply suggestions from code review --- crates/vm/src/system/memory/offline_checker/columns.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/vm/src/system/memory/offline_checker/columns.rs b/crates/vm/src/system/memory/offline_checker/columns.rs index 2b850dc75..e9036017f 100644 --- a/crates/vm/src/system/memory/offline_checker/columns.rs +++ b/crates/vm/src/system/memory/offline_checker/columns.rs @@ -49,7 +49,7 @@ impl MemoryWriteAuxCols { } impl MemoryWriteAuxCols { - pub fn disabled() -> Self { + pub const fn disabled() -> Self { Self { base: MemoryBaseAuxCols { prev_timestamp: F::ZERO, @@ -84,7 +84,7 @@ impl MemoryReadAuxCols { } impl MemoryReadAuxCols { - pub fn disabled() -> Self { + pub const fn disabled() -> Self { Self { base: MemoryBaseAuxCols { prev_timestamp: F::ZERO, @@ -123,7 +123,7 @@ impl MemoryReadOrImmediateAuxCols { } impl MemoryReadOrImmediateAuxCols { - pub fn disabled() -> Self { + pub const fn disabled() -> Self { MemoryReadOrImmediateAuxCols { base: MemoryBaseAuxCols { prev_timestamp: F::ZERO,