4 ms·
You can use a tuple in that case, as in: if let (Some(a), Some(b)) = (check(param0)), check(param1)) { ... } else { ... }
by tmzt 9y ago
You can use a tuple in that case, as in:
if let (Some(a), Some(b)) = (check(param0)), check(param1)) { ... } else { ... }