Skip to content

Commit 7bd9840

Browse files
lislisXAMPPRocky
authored andcommitted
add sentence about rustup update on getting started (#964)
fix typo add feedback implement feedback
1 parent 310255d commit 7bd9840

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

locales/en-US/learn.ftl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ learn-play-button = Try Rust without installing
7474
7575
learn-install-rustup-header = Rustup: the Rust installer and version management tool
7676
learn-install-rustup = The primary way that folks install Rust is through a tool called Rustup, which is a Rust installer and version management tool.
77+
learn-install-rustup-update-header = Is rustup up to date?
78+
learn-install-rustup-update = Rust updates very frequently. If you have installed Rustup some time ago, chances are your Rust version is out of date. Get the latest version of Rust by running { $update-command }.
7779
learn-install-rustup-button = Learn more about installation
7880
7981

templates/learn/get-started.hbs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
<h3>{{fluent "learn-install-rustup-header"}}</h3>
2121
<p>{{fluent "learn-install-rustup"}}</p>
2222
{{> components/tools/rustup }}
23-
<br /><br />
23+
<br />
24+
<h3>{{fluent "learn-install-rustup-update-header"}}</h3>
25+
<p>{{#fluent "learn-install-rustup-update"}}{{#fluentparam "update-command"}}<code>rustup update</code>{{/fluentparam}}{{/fluent}}</p>
26+
<br />
2427
<a href="{{baseurl}}/tools/install" class="button button-secondary">{{fluent "learn-install-rustup-button"}}</a>
2528
<hr />
2629

@@ -111,7 +114,7 @@ fn main() {
111114
</code></pre>
112115
{{/fluentparam}}
113116
{{/fluent}}
114-
117+
115118
</div>
116119
</section>
117120

0 commit comments

Comments
 (0)