Drop a needless match in favor of an `if let`