Skip to content

Commit

Permalink
Merge pull request #167 from CoinFabrik/iterators-over-indexing
Browse files Browse the repository at this point in the history
iterators-over-indexing detector
  • Loading branch information
Helios-vmg authored Nov 23, 2024
2 parents 6c48305 + 33824bc commit 37e68cb
Show file tree
Hide file tree
Showing 14 changed files with 1,277 additions and 4 deletions.
1 change: 1 addition & 0 deletions apps/cargo-scout-audit/src/detectors/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub struct DetectorBuilder<'a> {
}

impl<'a> DetectorBuilder<'a> {
#[allow(dead_code)]
const LIB_PREFIX: &'static str = "lib";

pub fn new(
Expand Down
11 changes: 11 additions & 0 deletions detectors/substrate-pallets/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions detectors/substrate-pallets/iterators-over-indexing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
edition = "2021"
name = "iterators-over-indexing"
version = "0.1.0"

[lib]
crate-type = ["cdylib"]

[dependencies]
clippy_utils = { workspace = true }
common = { workspace = true }
dylint_internal = { workspace = true }
dylint_linting = { workspace = true }
if_chain = { workspace = true }

[package.metadata.rust-analyzer]
rustc_private = true
Loading

0 comments on commit 37e68cb

Please sign in to comment.