Skip to content

Commit 8813be0

Browse files
committed
Remove /stable/ in a couple of links
The default channel for docs on doc.rust-lang.org is stable, so adding an explicit /stable/ in the URL is redundant (and splits pagerank).
1 parent cbea543 commit 8813be0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

locales/en-US/tools.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ install-notes-windows-description =
138138
<p>
139139
On Windows, Rust additionally requires the MSVC build tools
140140
for Visual Studio 2013 or later. See
141-
<a href="https://doc.rust-lang.org/stable/book/ch01-01-installation.html#installing-rustup-on-windows">
141+
<a href="https://doc.rust-lang.org/book/ch01-01-installation.html#installing-rustup-on-windows">
142142
Installing <code>rustup</code> on Windows</a>
143143
</p>
144144
<p>

templates/learn/index.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<div class="v-top pl4 pl0-l pt3-l measure-wide-l flex-l flex-column-l flex-auto-l">
3535
<p class="flex-grow-1">{{fluent "learn-rbe"}}</p>
3636
<div class="buttons">
37-
<a class="button button-secondary" href="https://doc.rust-lang.org/stable/rust-by-example/">{{fluent "learn-rbe-button"}}</a>
37+
<a class="button button-secondary" href="https://doc.rust-lang.org/rust-by-example/">{{fluent "learn-rbe-button"}}</a>
3838
{{#if (fluent "translated-rbe")}}<a class="button-additional" href={{fluent "translated-rbe"}}>{{fluent "translated-rbe-button"}}</a>{{/if}}
3939
</div>
4040
</div>

0 commit comments

Comments
 (0)