Skip to content

Commit 080e97e

Browse files
committed
fix: fix typo in several places
1 parent efa576d commit 080e97e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/dist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fn components_missing_msg(cs: &[Component], manifest: &ManifestV2, toolchain: &s
9191
.join(", ");
9292
let _ = write!(
9393
buf,
94-
"some components unavailable for download for channel '{toolchain}': {cs_str}"
94+
"some components are unavailable for download for channel '{toolchain}': {cs_str}"
9595
);
9696

9797
if toolchain.starts_with("nightly") {

src/errors.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ fn suggest_message(suggestion: &Option<String>) -> String {
141141

142142
/// Returns a error message indicating that certain [`Component`]s are unavailable.
143143
///
144-
/// See also [`component_missing_msg`](../dist/dist/fn.components_missing_msg.html)
144+
/// See also [`components_missing_msg`](../dist/dist/fn.components_missing_msg.html)
145145
/// which generates error messages for component unavailability toolchain-wide operations.
146146
///
147147
/// # Panics
@@ -185,7 +185,7 @@ fn component_unavailable_msg(cs: &[Component], manifest: &Manifest, toolchain: &
185185

186186
let _ = write!(
187187
buf,
188-
"some components unavailable for download for channel '{toolchain}': {cs_str}"
188+
"some components are unavailable for download for channel '{toolchain}': {cs_str}"
189189
);
190190

191191
if toolchain.starts_with("nightly") {

src/test/mock/clitools.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub enum Scenario {
9494
Unavailable,
9595
/// Two dates, v2 manifests, RLS unavailable in first date, restored on second.
9696
UnavailableRls,
97-
/// Three dates, v2 manifests, RLS available in first and last, not middle
97+
/// Three dates, v2 manifests, RLS available in first and second, not last
9898
MissingComponent,
9999
/// Three dates, v2 manifests, RLS available in first, middle missing nightly
100100
MissingNightly,

0 commit comments

Comments
 (0)