Skip to content

Commit

Permalink
Remove manual implementation of Display (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgoergens authored Oct 24, 2023
1 parent 60d403f commit b21d4f4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions circuits/src/memory_io/stark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,17 @@ use starky::constraint_consumer::{ConstraintConsumer, RecursiveConstraintConsume
use starky::evaluation_frame::{StarkEvaluationFrame, StarkFrame};
use starky::stark::Stark;

use crate::display::derive_display_stark_name;
use crate::memory_io::columns::{InputOutputMemory, NUM_IO_MEM_COLS};
use crate::stark::utils::is_binary;

derive_display_stark_name!(InputOuputMemoryStark);
#[derive(Copy, Clone, Default)]
#[allow(clippy::module_name_repetitions)]
pub struct InputOuputMemoryStark<F, const D: usize> {
pub _f: PhantomData<F>,
}

impl<F, const D: usize> Display for InputOuputMemoryStark<F, D> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "InputOutputMemoryStark")
}
}

const COLUMNS: usize = NUM_IO_MEM_COLS;
const PUBLIC_INPUTS: usize = 0;

Expand Down

0 comments on commit b21d4f4

Please sign in to comment.