Skip to content

Commit 24838a4

Browse files
rami3lrbtcollins
andcommitted
fix: fix typo in several places
Co-authored-by: Robert Collins <robertc@robertcollins.net>
1 parent 95de749 commit 24838a4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/dist/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub(crate) use triple::*;
4747
pub static DEFAULT_DIST_SERVER: &str = "https://static.rust-lang.org";
4848

4949
const TOOLSTATE_MSG: &str =
50-
"If you require these components, please install and use the latest successful build version,\n\
50+
"If you require these components, please install and use the latest successfully built version,\n\
5151
which you can find at <https://rust-lang.github.io/rustup-components-history>.\n\nAfter determining \
5252
the correct date, install it with a command such as:\n\n \
5353
rustup toolchain install nightly-2018-12-27\n\n\
@@ -93,7 +93,7 @@ fn components_missing_msg(cs: &[Component], manifest: &ManifestV2, toolchain: &s
9393
.join(", ");
9494
let _ = write!(
9595
buf,
96-
"some components unavailable for download for channel '{toolchain}': {cs_str}"
96+
"some components are unavailable for download for channel '{toolchain}': {cs_str}"
9797
);
9898

9999
if toolchain.starts_with("nightly") {

src/errors.rs

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

149149
/// Returns a error message indicating that certain [`Component`]s are unavailable.
150150
///
151-
/// See also [`component_missing_msg`](../dist/dist/fn.components_missing_msg.html)
151+
/// See also [`components_missing_msg`](../dist/dist/fn.components_missing_msg.html)
152152
/// which generates error messages for component unavailability toolchain-wide operations.
153153
///
154154
/// # Panics
@@ -192,7 +192,7 @@ fn component_unavailable_msg(cs: &[Component], manifest: &Manifest, toolchain: &
192192

193193
let _ = write!(
194194
buf,
195-
"some components unavailable for download for channel '{toolchain}': {cs_str}"
195+
"some components are unavailable for download for channel '{toolchain}': {cs_str}"
196196
);
197197

198198
if toolchain.starts_with("nightly") {

src/test/mock/clitools.rs

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

tests/suite/cli_v2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ Sometimes not all components are available in any given nightly. If you don't ne
13631363
13641364
rustup toolchain add nightly --profile minimal
13651365
1366-
If you require these components, please install and use the latest successful build version,
1366+
If you require these components, please install and use the latest successfully built version,
13671367
which you can find at <https://rust-lang.github.io/rustup-components-history>.
13681368
13691369
After determining the correct date, install it with a command such as:

0 commit comments

Comments
 (0)