Skip to content

Commit 3cdd7da

Browse files
authored
Merge pull request #1 from rust-lang/master
get master
2 parents aae5dc6 + fda7395 commit 3cdd7da

File tree

3 files changed

+18
-20
lines changed

3 files changed

+18
-20
lines changed

templates/404.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{{#*inline "page"}}
22
<header>
33
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
4-
<div class="row">
5-
<div class="eight columns">
4+
<div class="flex-none flex-l mt5 mb5 tc tl-l">
5+
<div class="w-70-l w-100">
66
<h1>404</h1>
77
<h2 class="subtitle">Whoops, this page doesn’t exist :-(</h2>
88
</div>
9-
<div class="four columns">
9+
<div class="w-30-l w-100 mt5 mt0-l">
1010
<img id="ferris-error" src="/static/images/ferris-error.png" alt="404 not found image">
1111
</div>
1212
</div>

templates/components/tools/editors.hbs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
1-
<div class="row">
2-
<div class="three columns">
1+
<div class="flex-none flex-m flex-l flex-wrap">
2+
<div class="w-25-l w-50-m w-100 pa3">
33
<a href="https://marketplace.visualstudio.com/items?itemName=rust-lang.rust"
44
class="button button-secondary">VS Code</a>
55
</div>
6-
<div class="three columns">
6+
<div class="w-25-l w-50-m w-100 pa3">
77
<a href="https://github.com/rust-lang/rust-enhanced"
88
class="button button-secondary">Sublime Text 3</a>
99
</div>
10-
<div class="three columns">
10+
<div class="w-25-l w-50-m w-100 pa3">
1111
<a href="https://github.com/rust-lang/atom-ide-rust"
1212
class="button button-secondary">Atom</a>
1313
</div>
14-
<div class="three columns">
14+
<div class="w-25-l w-50-m w-100 pa3">
1515
<a href="https://plugins.jetbrains.com/plugin/8182-rust"
1616
class="button button-secondary">IntelliJ IDEA</a>
1717
</div>
18-
</div>
19-
<div class="row">
20-
<div class="three columns">
18+
<div class="w-25-l w-50-m w-100 pa3">
2119
<a href="https://www.eclipse.org/downloads/packages/release/2018-12/r/eclipse-ide-rust-developers-includes-incubating-components"
2220
class="button button-secondary">Eclipse</a>
2321
</div>
24-
<div class="three columns">
22+
<div class="w-25-l w-50-m w-100 pa3">
2523
<a href="https://github.com/rust-lang/rust.vim"
2624
class="button button-secondary">Vim</a>
2725
</div>
28-
<div class="three columns">
26+
<div class="w-25-l w-50-m w-100 pa3">
2927
<a href="https://github.com/rust-lang/rust-mode"
3028
class="button button-secondary">Emacs</a>
3129
</div>

templates/tools/index.hbs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
Cargo is the build tool for Rust. It bundles all common actions into a
4040
single command. No boilerplate required.
4141
</p>
42-
<div class="row">
43-
<div class="four columns" id="packages">
42+
<div class="flex-none flex-l flex-row">
43+
<div class="mt2 w-100" id="packages">
4444
<h3 class="code-header">
4545
Install
4646
</h3>
@@ -51,23 +51,23 @@
5151
repetition to innovation.
5252
</p>
5353
</div>
54-
<div class="four columns" id="linting">
54+
<div class="mt2 w-100 ml5-l" id="linting">
5555
<h3 class="code-header">
5656
Test
5757
</h3>
5858
<p>
5959
Bring confidence to your code through Rust’s excellent testing tools.
60-
<code>cargo test</code> is Rust’s unified solution to testing. Write
60+
<code class="nowrap">cargo test</code> is Rust’s unified solution to testing. Write
6161
tests next to your code, or in separate files: it provides a solution
6262
for all testing needs.
6363
</p>
6464
</div>
65-
<div class="four columns" id="deployment">
65+
<div class="mt2 w-100 ml5-l" id="deployment">
6666
<h3 class="code-header">
6767
Deploy
6868
</h3>
6969
<p>
70-
<code>cargo build</code> creates lean binaries for every platform.
70+
<code class="nowrap">cargo build</code> creates lean binaries for every platform.
7171
With a single command your code can target Windows, Linux, OSX, and
7272
the web. All part of a modern interface, with no need for bespoke
7373
build files.
@@ -121,7 +121,7 @@
121121
</h3>
122122
<p class="flex-grow-1">
123123
Cargo’s doc builder makes it so no API ever goes undocumented. It’s
124-
available locally through <code>cargo doc</code>, and online for
124+
available locally through <code class="nowrap">cargo doc</code>, and online for
125125
public crates through <a href="https://docs.rs">docs.rs</a>.
126126
</p>
127127
<a href="https://docs.rs/"

0 commit comments

Comments
 (0)