From bfea4d57e6295fe90a8ea466645f7f78bd5aa49b Mon Sep 17 00:00:00 2001 From: Alik Aslanyan Date: Tue, 15 Jan 2019 02:03:20 +0400 Subject: [PATCH] Fix typo --- src/cargo/core/resolver/errors.rs | 2 +- tests/testsuite/build.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cargo/core/resolver/errors.rs b/src/cargo/core/resolver/errors.rs index 217523e8655..dde505d1af8 100644 --- a/src/cargo/core/resolver/errors.rs +++ b/src/cargo/core/resolver/errors.rs @@ -268,7 +268,7 @@ pub(super) fn activation_error( msg.push_str( "\nAs a reminder, you're using offline mode (-Z offline) \ which can sometimes cause surprising resolution failures, \ - if this error is too confusing you may with to retry \ + if this error is too confusing you may wish to retry \ without the offline flag.", ); } diff --git a/tests/testsuite/build.rs b/tests/testsuite/build.rs index 8916574a0e0..75c26d75d49 100644 --- a/tests/testsuite/build.rs +++ b/tests/testsuite/build.rs @@ -1062,7 +1062,7 @@ location searched: registry `[..]` required by package `bar v0.1.0 ([..])` As a reminder, you're using offline mode (-Z offline) \ which can sometimes cause surprising resolution failures, \ -if this error is too confusing you may with to retry \ +if this error is too confusing you may wish to retry \ without the offline flag.", ) .run(); @@ -1288,7 +1288,7 @@ required by package `bar v0.1.0` ... which is depended on by `foo v0.0.1 ([CWD])` As a reminder, you're using offline mode (-Z offline) \ which can sometimes cause surprising resolution failures, \ -if this error is too confusing you may with to retry \ +if this error is too confusing you may wish to retry \ without the offline flag.", ) .run();