diff --git a/crates/l2/Cargo.toml b/crates/l2/Cargo.toml index 9194d5a569..1be80ccc19 100644 --- a/crates/l2/Cargo.toml +++ b/crates/l2/Cargo.toml @@ -42,3 +42,4 @@ path = "./l2.rs" [lints.clippy] unwrap_used = "deny" expect_used = "deny" +indexing_slicing = "deny" diff --git a/crates/l2/contracts/Cargo.toml b/crates/l2/contracts/Cargo.toml index 022a3ab50d..f35455bf8e 100644 --- a/crates/l2/contracts/Cargo.toml +++ b/crates/l2/contracts/Cargo.toml @@ -28,3 +28,4 @@ path = "./deployer.rs" [lints.clippy] unwrap_used = "deny" expect_used = "deny" +indexing_slicing = "deny" diff --git a/crates/l2/prover/Cargo.toml b/crates/l2/prover/Cargo.toml index ec9d06c9b0..2b2616b4c7 100644 --- a/crates/l2/prover/Cargo.toml +++ b/crates/l2/prover/Cargo.toml @@ -54,3 +54,4 @@ gpu = ["risc0-zkvm/cuda"] [lints.clippy] unwrap_used = "deny" expect_used = "deny" +indexing_slicing = "deny" diff --git a/crates/l2/sdk/Cargo.toml b/crates/l2/sdk/Cargo.toml index a23c311ce3..ee16463f1e 100644 --- a/crates/l2/sdk/Cargo.toml +++ b/crates/l2/sdk/Cargo.toml @@ -23,3 +23,4 @@ path = "src/sdk.rs" [lints.clippy] unwrap_used = "deny" expect_used = "deny" +indexing_slicing = "deny"