Skip to content

Commit 6d663e1

Browse files
committed
Allow range loop in test code
The explicit array access is clear, just shoosh the linter.
1 parent a8c156e commit 6d663e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/policy/compiler.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,7 @@ mod tests {
13511351
}
13521352

13531353
#[test]
1354+
#[allow(clippy::needless_range_loop)]
13541355
fn compile_misc() {
13551356
let (keys, sig) = pubkeys_and_a_sig(10);
13561357
let key_pol: Vec<BPolicy> = keys.iter().map(|k| Concrete::Key(*k)).collect();

0 commit comments

Comments
 (0)