1- pub static RUSTUP_HELP : & str = r"DISCUSSION:
1+ pub ( crate ) static RUSTUP_HELP : & str = r"DISCUSSION:
22 Rustup installs The Rust Programming Language from the official
33 release channels, enabling you to easily switch between stable,
44 beta, and nightly compilers and keep them updated. It makes
@@ -8,7 +8,7 @@ pub static RUSTUP_HELP: &str = r"DISCUSSION:
88 If you are new to Rust consider running `rustup doc --book` to
99 learn Rust." ;
1010
11- pub static SHOW_HELP : & str = r"DISCUSSION:
11+ pub ( crate ) static SHOW_HELP : & str = r"DISCUSSION:
1212 Shows the name of the active toolchain and the version of `rustc`.
1313
1414 If the active toolchain has installed support for additional
@@ -17,7 +17,7 @@ pub static SHOW_HELP: &str = r"DISCUSSION:
1717 If there are multiple toolchains installed then all installed
1818 toolchains are listed as well." ;
1919
20- pub static SHOW_ACTIVE_TOOLCHAIN_HELP : & str = r"DISCUSSION:
20+ pub ( crate ) static SHOW_ACTIVE_TOOLCHAIN_HELP : & str = r"DISCUSSION:
2121 Shows the name of the active toolchain.
2222
2323 This is useful for figuring out the active tool chain from
@@ -26,24 +26,24 @@ pub static SHOW_ACTIVE_TOOLCHAIN_HELP: &str = r"DISCUSSION:
2626 You should use `rustc --print sysroot` to get the sysroot, or
2727 `rustc --version` to get the toolchain version." ;
2828
29- pub static UPDATE_HELP : & str = r"DISCUSSION:
29+ pub ( crate ) static UPDATE_HELP : & str = r"DISCUSSION:
3030 With no toolchain specified, the `update` command updates each of
3131 the installed toolchains from the official release channels, then
3232 updates rustup itself.
3333
3434 If given a toolchain argument then `update` updates that
3535 toolchain, the same as `rustup toolchain install`." ;
3636
37- pub static INSTALL_HELP : & str = r"DISCUSSION:
37+ pub ( crate ) static INSTALL_HELP : & str = r"DISCUSSION:
3838 Installs a specific rust toolchain.
3939
4040 The 'install' command is an alias for 'rustup update <toolchain>'." ;
4141
42- pub static DEFAULT_HELP : & str = r"DISCUSSION:
42+ pub ( crate ) static DEFAULT_HELP : & str = r"DISCUSSION:
4343 Sets the default toolchain to the one specified. If the toolchain
4444 is not already installed then it is installed first." ;
4545
46- pub static TOOLCHAIN_HELP : & str = r"DISCUSSION:
46+ pub ( crate ) static TOOLCHAIN_HELP : & str = r"DISCUSSION:
4747 Many `rustup` commands deal with *toolchains*, a single
4848 installation of the Rust compiler. `rustup` supports multiple
4949 types of toolchains. The most basic track the official release
@@ -85,7 +85,7 @@ pub static TOOLCHAIN_HELP: &str = r"DISCUSSION:
8585 often used for developing Rust itself. For more information see
8686 `rustup toolchain help link`." ;
8787
88- pub static TOOLCHAIN_LINK_HELP : & str = r"DISCUSSION:
88+ pub ( crate ) static TOOLCHAIN_LINK_HELP : & str = r"DISCUSSION:
8989 'toolchain' is the custom name to be assigned to the new toolchain.
9090 Any name is permitted as long as it does not fully match an initial
9191 substring of a standard release channel. For example, you can use
@@ -104,7 +104,7 @@ pub static TOOLCHAIN_LINK_HELP: &str = r"DISCUSSION:
104104 If you now compile a crate in the current directory, the custom
105105 toolchain 'latest-stage1' will be used." ;
106106
107- pub static OVERRIDE_HELP : & str = r"DISCUSSION:
107+ pub ( crate ) static OVERRIDE_HELP : & str = r"DISCUSSION:
108108 Overrides configure Rustup to use a specific toolchain when
109109 running in a specific directory.
110110
@@ -125,14 +125,14 @@ pub static OVERRIDE_HELP: &str = r"DISCUSSION:
125125 override and use the default toolchain again, `rustup override
126126 unset`." ;
127127
128- pub static OVERRIDE_UNSET_HELP : & str = r"DISCUSSION:
128+ pub ( crate ) static OVERRIDE_UNSET_HELP : & str = r"DISCUSSION:
129129 If `--path` argument is present, removes the override toolchain
130130 for the specified directory. If `--nonexistent` argument is
131131 present, removes the override toolchain for all nonexistent
132132 directories. Otherwise, removes the override toolchain for the
133133 current directory." ;
134134
135- pub static RUN_HELP : & str = r"DISCUSSION:
135+ pub ( crate ) static RUN_HELP : & str = r"DISCUSSION:
136136 Configures an environment to use the given toolchain and then runs
137137 the specified program. The command may be any program, not just
138138 rustc or cargo. This can be used for testing arbitrary toolchains
@@ -147,14 +147,14 @@ pub static RUN_HELP: &str = r"DISCUSSION:
147147
148148 $ rustup run nightly cargo build" ;
149149
150- pub static DOC_HELP : & str = r"DISCUSSION:
150+ pub ( crate ) static DOC_HELP : & str = r"DISCUSSION:
151151 Opens the documentation for the currently active toolchain with
152152 the default browser.
153153
154154 By default, it opens the documentation index. Use the various
155155 flags to open specific pieces of documentation." ;
156156
157- pub static COMPLETIONS_HELP : & str = r"DISCUSSION:
157+ pub ( crate ) static COMPLETIONS_HELP : & str = r"DISCUSSION:
158158 Enable tab completion for Bash, Fish, Zsh, or PowerShell
159159 The script is output on `stdout`, allowing one to re-direct the
160160 output to the file of their choosing. Where you place the file
@@ -274,11 +274,11 @@ pub static COMPLETIONS_HELP: &str = r"DISCUSSION:
274274
275275 $ rustup completions zsh cargo > ~/.zfunc/_cargo" ;
276276
277- pub static TOOLCHAIN_ARG_HELP : & str = "Toolchain name, such as 'stable', 'nightly', \
277+ pub ( crate ) static TOOLCHAIN_ARG_HELP : & str = "Toolchain name, such as 'stable', 'nightly', \
278278 or '1.8.0'. For more information see `rustup \
279279 help toolchain`";
280280
281- pub static TOPIC_ARG_HELP : & str = "Topic such as 'core', 'fn', 'usize', 'eprintln!', \
281+ pub ( crate ) static TOPIC_ARG_HELP : & str = "Topic such as 'core', 'fn', 'usize', 'eprintln!', \
282282 'core::arch', 'alloc::format!', 'std::fs', \
283283 'std::fs::read_dir', 'std::io::Bytes', \
284284 'std::iter::Sum', 'std::io::error::Result' etc...";
0 commit comments