Skip to content

Commit

Permalink
Move 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 587650b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ zksync_vm2_interface = { version = "0.2.1", path = "crates/vm2-interface" }
zksync_vm2 = { version = "0.2.1", path = "crates/vm2" }

[workspace.lints.rust]
missing_docs = "warn"
missing_debug_implementations = "warn"
unreachable_pub = "warn"

Expand Down
2 changes: 2 additions & 0 deletions crates/vm2-interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
//! }
//! ```
#![warn(missing_docs)]

pub use self::{state_interface::*, tracer_interface::*};

mod state_interface;
Expand Down
2 changes: 2 additions & 0 deletions crates/vm2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//!
//! This crate provides high-performance [`VirtualMachine`] for ZKsync Era.
#![warn(missing_docs)]

use std::hash::{DefaultHasher, Hash, Hasher};

use primitive_types::{H160, U256};
Expand Down

0 comments on commit 587650b

Please sign in to comment.