Skip to content

Add sentence about rustup update on getting started page, (issue #699) #964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions locales/en-US/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ learn-play-button = Try Rust without installing

learn-install-rustup-header = Rustup: the Rust installer and version management tool
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.
learn-install-rustup-update-header = Is rustup up to date?
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 }.
learn-install-rustup-button = Learn more about installation


Expand Down
7 changes: 5 additions & 2 deletions templates/learn/get-started.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
<h3>{{fluent "learn-install-rustup-header"}}</h3>
<p>{{fluent "learn-install-rustup"}}</p>
{{> components/tools/rustup }}
<br /><br />
<br />
<h3>{{fluent "learn-install-rustup-update-header"}}</h3>
<p>{{#fluent "learn-install-rustup-update"}}{{#fluentparam "update-command"}}<code>rustup update</code>{{/fluentparam}}{{/fluent}}</p>
<br />
<a href="{{baseurl}}/tools/install" class="button button-secondary">{{fluent "learn-install-rustup-button"}}</a>
<hr />

Expand Down Expand Up @@ -111,7 +114,7 @@ fn main() {
</code></pre>
{{/fluentparam}}
{{/fluent}}

</div>
</section>

Expand Down