Replace a match with some as_ref and as
- Mar 16, 2022
-
-
Ian Jackson authored
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 )
-