Skip to content

Commit

Permalink
chore(l2) avoid indexing slicing usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dsocolobsky committed Nov 28, 2024
1 parent c3d1236 commit 69643f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/l2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ path = "./l2.rs"
[lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
indexing_slicing = "deny"
1 change: 1 addition & 0 deletions crates/l2/contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ path = "./deployer.rs"
[lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
indexing_slicing = "deny"
1 change: 1 addition & 0 deletions crates/l2/prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ gpu = ["risc0-zkvm/cuda"]
[lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
indexing_slicing = "deny"
1 change: 1 addition & 0 deletions crates/l2/sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ path = "src/sdk.rs"
[lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
indexing_slicing = "deny"

0 comments on commit 69643f0

Please sign in to comment.