Skip to content
Myr

Ignore zero_ptr Clippy style lint in test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 80be98f · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • tests:+2 added−1 removed

1 file+2 added−1 removed

modified:tests/test_ensure.rs+2 added-1 removed
8 unmodified lines
9 clippy::never_loop,10 clippy::redundant_closure_call,11 clippy::redundant_pattern_matching,12 clippy::unit_arg,13 clippy::while_immutable_condition13 clippy::while_immutable_condition,14 clippy::zero_ptr15)]1617use anyhow::{anyhow, ensure, Chain, Error, Result};18use std::fmt::Debug;
532 unmodified lines