Skip to content
Myr

Merge pull request #1159 from tmccombs/silence-large-variant

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

Silence warning about large enum variant

authored by David Peter · committed by GitHub · parents 567ce26, 55aae3a · Browse files · 1 file+3 added−0 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+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:src/walk.rs+3 added
32 unmodified lines
33 Streaming,34}3536/// The Worker threads can result in a valid entry having PathBuf or an error.37#[allow(clippy::large_enum_variant)]38pub enum WorkerResult {39 // Errors should be rare, so it's probably better to allow large_enum_variant than40 // to box the Entry variant41 Entry(DirEntry),42 Error(ignore::Error),43}44
510 unmodified lines