Replace some verbose match statements with their `if let` equivalent.

No semantic changes, no enabling `if let` where it wasn't already enabled.
Can't you also use `if let` here?
```rust
if let StaticMethod = item_family(impl_method_doc) {
```