Skip to content

Replace a match with some as_ref and as

Ian Jackson requested to merge Diziet/arti:clippy into main

The match was doing a deref coercion.

Found by current nightly's needless_match (whose suggestion doesn't compile, https://github.com/rust-lang/rust-clippy/issues/8551 )

Merge request reports

Loading