Find why same_as returns true for every value.
Rust
fn same_as(value: u32, expected: u32) -> bool {
match value {
expected => true,
_ => false,
}
}
fn same_as(value: u32, expected: u32) -> bool {
match value {
expected => true,
_ => false,
}
}