Skip to content

Commit

Permalink
Fix missing_docs lint
Browse files Browse the repository at this point in the history
  • Loading branch information
slowli committed Jan 20, 2025
1 parent cdc918e commit 6f03072
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/vm2-interface/src/state_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,15 @@ pub struct L2ToL1Log {
}

#[cfg(test)]
pub mod tests {
pub(crate) mod testonly {
use primitive_types::{H160, U256};

use super::{
CallframeInterface, Event, Flags, GlobalStateInterface, HeapId, L2ToL1Log, StateInterface,
};

#[derive(Debug)]
pub struct DummyState;
pub(crate) struct DummyState;

impl StateInterface for DummyState {
fn read_register(&self, _: u8) -> (U256, bool) {
Expand Down
2 changes: 1 addition & 1 deletion crates/vm2-interface/src/tracer_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ impl<A: Tracer, B: Tracer> Tracer for (A, B) {
#[cfg(test)]
mod tests {
use super::{CallingMode, OpcodeType};
use crate::{opcodes, tests::DummyState, GlobalStateInterface, Tracer};
use crate::{opcodes, testonly::DummyState, GlobalStateInterface, Tracer};

struct FarCallCounter(usize);

Expand Down

0 comments on commit 6f03072

Please sign in to comment.