diff options
| author | oliver <metreo@sent.com> | 2020-11-22 00:50:09 -0400 |
|---|---|---|
| committer | oliver <metreo@sent.com> | 2020-11-22 00:50:09 -0400 |
| commit | e30bb7661d5cb547c59deb7ff700d53ddc219a11 (patch) | |
| tree | 5d1b24eff06a1357268eb0aa43e0764a8a521579 | |
| parent | 0402c6ace7aff13bef4791f578ffb623da69fef2 (diff) | |
| download | rust-e30bb7661d5cb547c59deb7ff700d53ddc219a11.tar.gz rust-e30bb7661d5cb547c59deb7ff700d53ddc219a11.zip | |
update
| -rw-r--r-- | tests/ui/manual_ok_or.fixed | 2 | ||||
| -rw-r--r-- | tests/ui/manual_ok_or.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/manual_ok_or.fixed b/tests/ui/manual_ok_or.fixed index b42e94bd727..887a97d7a01 100644 --- a/tests/ui/manual_ok_or.fixed +++ b/tests/ui/manual_ok_or.fixed @@ -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 diff --git a/tests/ui/manual_ok_or.rs b/tests/ui/manual_ok_or.rs index e5a6056fbf5..3c99872f502 100644 --- a/tests/ui/manual_ok_or.rs +++ b/tests/ui/manual_ok_or.rs @@ -32,7 +32,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 |
