We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0402c6a + e30bb76 commit 4284ec3Copy full SHA for 4284ec3
tests/ui/manual_ok_or.fixed
@@ -28,7 +28,7 @@ fn main() {
28
// not applicable, or side isn't `Result::Err`
29
foo.map_or(Ok::<i32, &str>(1), |v| Ok(v));
30
31
- // not applicatble, expr is not a `Result` value
+ // not applicable, expr is not a `Result` value
32
foo.map_or(42, |v| v);
33
34
// TODO patterns not covered yet
tests/ui/manual_ok_or.rs
@@ -32,7 +32,7 @@ fn main() {
35
36
37
38
0 commit comments