From 8ee76f6082c2715adfcb63548fca7d85c2fe1890 Mon Sep 17 00:00:00 2001 From: Alik Aslanyan Date: Fri, 23 Jul 2021 17:15:14 +0400 Subject: [PATCH] Weather is not nice today.. --- crates/resolver-tests/tests/resolve.rs | 2 +- src/cargo/core/resolver/context.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/resolver-tests/tests/resolve.rs b/crates/resolver-tests/tests/resolve.rs index e99c645a53c..aa9e78c76e0 100644 --- a/crates/resolver-tests/tests/resolve.rs +++ b/crates/resolver-tests/tests/resolve.rs @@ -93,7 +93,7 @@ proptest! { prop_assert_eq!( res.is_ok(), mres.is_ok(), - "minimal-versions and regular resolver disagree about weather `{} = \"={}\"` can resolve", + "minimal-versions and regular resolver disagree about whether `{} = \"={}\"` can resolve", this.name(), this.version() ) diff --git a/src/cargo/core/resolver/context.rs b/src/cargo/core/resolver/context.rs index dd94d9bf8fd..4854dcde7e2 100644 --- a/src/cargo/core/resolver/context.rs +++ b/src/cargo/core/resolver/context.rs @@ -27,7 +27,7 @@ pub struct Context { /// get the package that will be linking to a native library by its links attribute pub links: im_rc::HashMap, /// for each package the list of names it can see, - /// then for each name the exact version that name represents and weather the name is public. + /// then for each name the exact version that name represents and whether the name is public. pub public_dependency: Option, /// a way to look up for a package in activations what packages required it