Skip to content

Commit 587650b

Browse files
committed
Move missing_docs lint
1 parent cdc918e commit 587650b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ zksync_vm2_interface = { version = "0.2.1", path = "crates/vm2-interface" }
4141
zksync_vm2 = { version = "0.2.1", path = "crates/vm2" }
4242

4343
[workspace.lints.rust]
44-
missing_docs = "warn"
4544
missing_debug_implementations = "warn"
4645
unreachable_pub = "warn"
4746

crates/vm2-interface/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
//! }
9393
//! ```
9494
95+
#![warn(missing_docs)]
96+
9597
pub use self::{state_interface::*, tracer_interface::*};
9698

9799
mod state_interface;

crates/vm2/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
//!
33
//! This crate provides high-performance [`VirtualMachine`] for ZKsync Era.
44
5+
#![warn(missing_docs)]
6+
57
use std::hash::{DefaultHasher, Hash, Hasher};
68

79
use primitive_types::{H160, U256};

0 commit comments

Comments
 (0)