]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/manual_ok_or.fixed
Auto merge of #84620 - Dylan-DPC:rollup-wkv97im, r=Dylan-DPC
[rust.git] / src / tools / clippy / tests / ui / manual_ok_or.fixed
index b42e94bd727de9fa998f54bdb83d099ebf4401a9..887a97d7a01734dafb5269bcac6c57b62a2978db 100644 (file)
@@ -28,7 +28,7 @@ fn main() {
     // not applicable, or side isn't `Result::Err`
     foo.map_or(Ok::<i32, &str>(1), |v| Ok(v));
 
-    // not applicatble, expr is not a `Result` value
+    // not applicable, expr is not a `Result` value
     foo.map_or(42, |v| v);
 
     // TODO patterns not covered yet