Skip to content

Commit e1957bc

Browse files
committed
---
yaml --- r: 151023 b: refs/heads/try2 c: 49d60b8 h: refs/heads/master i: 151021: b1d0419 151019: 251c346 151015: fe74917 151007: 450ef55 v: v3
1 parent f7a1deb commit e1957bc

File tree

121 files changed

+3564
-3253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+3564
-3253
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 1e3358903d1ca150856183a696701b7dc7ceb568
8+
refs/heads/try2: 49d60b851cbff5339df53fde64a2accd993c4f1a
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/doc/full-toc.inc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<style>
22
/* Display the full TOC */
3-
nav {
4-
column-count: auto;
5-
-moz-column-count: auto;
6-
-webkit-column-count: auto;
7-
}
8-
nav ul ul {
3+
#TOC ul ul {
94
display: block;
105
padding-left: 2em;
116
}

branches/try2/src/doc/guide-lifetimes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ it. It would violate memory safety for the box that was originally
236236
assigned to `x` to be garbage-collected, since a non-heap
237237
pointer *`y`* still points into it.
238238

239-
> *Note:* Our current implementation implements the garbage collector
239+
> ***Note:*** Our current implementation implements the garbage collector
240240
> using reference counting and cycle detection.
241241
242242
For this reason, whenever an `&` expression borrows the interior of a
@@ -674,7 +674,7 @@ Named lifetime notation can also be used to control the flow of execution:
674674
}
675675
~~~
676676

677-
> *Note:* Labelled breaks are not currently supported within `while` loops.
677+
> ***Note:*** Labelled breaks are not currently supported within `while` loops.
678678
679679
Named labels are hygienic and can be used safely within macros.
680680
See the macros guide section on hygiene for more details.

branches/try2/src/doc/guide-tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ an `Error` result.
456456

457457
[`Result`]: std/result/index.html
458458

459-
> *Note:* A failed task does not currently produce a useful error
459+
> ***Note:*** A failed task does not currently produce a useful error
460460
> value (`try` always returns `Err(())`). In the
461461
> future, it may be possible for tasks to intercept the value passed to
462462
> `fail!()`.

branches/try2/src/doc/po/ja/tutorial.md.po

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ msgstr ""
196196
#. type: Plain text
197197
#: src/doc/tutorial.md:57
198198
msgid ""
199-
"> *Warning:* Rust is a language under ongoing development. Notes > about "
199+
"> ***Warning:*** Rust is a language under ongoing development. Notes > about "
200200
"potential changes to the language, implementation > deficiencies, and other "
201201
"caveats appear offset in blockquotes."
202202
msgstr ""
203-
"> *警告:* Rust は開発途上の言語です。将来予定されている言語への変更や、実"
203+
"> ***警告:*** Rust は開発途上の言語です。将来予定されている言語への変更や、実"
204204
"装上の不備、その他の注意事項など、 blockquote の段落 (この段落もそうです) に"
205205
"注意してください。"
206206

@@ -287,13 +287,13 @@ msgstr ""
287287
#. type: Plain text
288288
#: src/doc/tutorial.md:88
289289
msgid ""
290-
"> *Note:* Windows users should read the detailed > \"[getting started]"
290+
"> ***Note:*** Windows users should read the detailed > \"[getting started]"
291291
"[wiki-start]\" notes on the wiki. Even when using > the binary installer, "
292292
"the Windows build requires a MinGW installation, > the precise details of "
293293
"which are not discussed here. Finally, `rustc` may > need to be [referred to "
294294
"as `rustc.exe`][bug-3319]. It's a bummer, we > know."
295295
msgstr ""
296-
"> *注意:* Windows ユーザーは wiki の [getting started][wiki-start] の記事"
296+
"> ***注意:*** Windows ユーザーは wiki の [getting started][wiki-start] の記事"
297297
"を読んでください。 本書では詳細を説明しませんが、インストーラを利用する場合で"
298298
"も、MinGW のインストールなど、追加の手順が必要です。また、コンパイラは "
299299
"`rustc` ではなく、 [`rustc.exe` として呼び出す必要がある][bug-3319] かもしれ"
@@ -1254,11 +1254,11 @@ msgstr ""
12541254
#. type: Plain text
12551255
#: src/doc/tutorial.md:504
12561256
msgid ""
1257-
"> *Note:* The following code makes use of tuples (`(f64, f64)`) which > "
1257+
"> ***Note:*** The following code makes use of tuples (`(f64, f64)`) which > "
12581258
"are explained in section 5.3. For now you can think of tuples as a list of > "
12591259
"items."
12601260
msgstr ""
1261-
"> *注意:* 以下のコード例では5.3 節で説明されるタプル (`(f64, f64)`) を"
1261+
"> ***注意:*** 以下のコード例では5.3 節で説明されるタプル (`(f64, f64)`) を"
12621262
"使っています。現時点では、タプルは項目のリストのようなものだとみなしてくださ"
12631263
"い。"
12641264

@@ -3005,11 +3005,11 @@ msgstr ""
30053005
#. type: Plain text
30063006
#: src/doc/tutorial.md:1774
30073007
msgid ""
3008-
"> *Note:* Both the syntax and the semantics will be changing > in small "
3008+
"> ***Note:*** Both the syntax and the semantics will be changing > in small "
30093009
"ways. At the moment they can be unsound in some > scenarios, particularly "
30103010
"with non-copyable types."
30113011
msgstr ""
3012-
"> *注意* コードの文法と意味は将来的に変更されるかもしれません。現時点では"
3012+
"> ***注意*** コードの文法と意味は将来的に変更されるかもしれません。現時点では"
30133013
"いくつかの状況、特にコピーできない型が関連するケースにおいて望ましくない振る"
30143014
"舞いが起こされる場合があります。"
30153015

@@ -3660,10 +3660,10 @@ msgstr ""
36603660
#. type: Plain text
36613661
#: src/doc/tutorial.md:2099
36623662
msgid ""
3663-
"> *Note:* These two traits were referred to as 'kinds' in earlier > "
3663+
"> ***Note:*** These two traits were referred to as 'kinds' in earlier > "
36643664
"iterations of the language, and often still are."
36653665
msgstr ""
3666-
"> *注意* これら2つのトレイトは、以前は 「種」 (kind) と呼ばれており、現在"
3666+
"> ***注意*** これら2つのトレイトは、以前は 「種」 (kind) と呼ばれており、現在"
36673667
"でもそう呼ばれる場合があります。"
36683668

36693669
#. type: Plain text
@@ -4374,9 +4374,9 @@ msgstr ""
43744374

43754375
#. type: Plain text
43764376
#: src/doc/tutorial.md:2511
4377-
msgid "> *Note:* Trait inheritance does not actually work with objects yet"
4377+
msgid "> ***Note:*** Trait inheritance does not actually work with objects yet"
43784378
msgstr ""
4379-
"> *注意* トレイトの継承は、実際にはまだオブジェクトに対しては動作しませ"
4379+
"> ***注意*** トレイトの継承は、実際にはまだオブジェクトに対しては動作しませ"
43804380
"ん。"
43814381

43824382
#. type: Plain text

branches/try2/src/doc/rust.css

Lines changed: 33 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -10,43 +10,13 @@
1010
* option. This file may not be copied, modified, or distributed
1111
* except according to those terms.
1212
*/
13-
@font-face {
14-
font-family: 'Fira Sans';
15-
font-style: normal;
16-
font-weight: 400;
17-
src: local('Fira Sans'), url("http://www.rust-lang.org/fonts/FiraSans-Regular.woff") format('woff');
18-
}
19-
@font-face {
20-
font-family: 'Fira Sans';
21-
font-style: normal;
22-
font-weight: 500;
23-
src: local('Fira Sans Medium'), url("http://www.rust-lang.org/fonts/FiraSans-Medium.woff") format('woff');
24-
}
25-
@font-face {
26-
font-family: 'Heuristica';
27-
font-style: normal;
28-
font-weight: 400;
29-
src: local('Heuristica Regular'), url("http://www.rust-lang.org/fonts/Heuristica-Regular.woff") format('woff');
30-
}
31-
@font-face {
32-
font-family: 'Heuristica';
33-
font-style: italic;
34-
font-weight: 400;
35-
src: local('Heuristica Italic'), url("http://www.rust-lang.org/fonts/Heuristica-Italic.woff") format('woff');
36-
}
37-
@font-face {
38-
font-family: 'Heuristica';
39-
font-style: normal;
40-
font-weight: 700;
41-
src: local('Heuristica Bold'), url("http://www.rust-lang.org/fonts/Heuristica-Bold.woff") format('woff');
42-
}
4313
/* Global page semantics
4414
========================================================================== */
4515
body {
4616
margin: 0 auto;
4717
padding: 0 15px;
48-
font-family: "Heuristica", "Helvetica Neue", Helvetica, Arial, sans-serif;
49-
font-size: 18px;
18+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
19+
font-size: 14px;
5020
color: #333;
5121
line-height: 1.428571429;
5222
}
@@ -56,51 +26,33 @@ body {
5626
}
5727
}
5828

59-
h1, h2, h3, h4, h5, h6, nav, #versioninfo {
60-
font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
61-
}
6229
h1, h2, h3, h4, h5, h6 {
6330
color: black;
64-
font-weight: 400;
31+
font-weight: 500;
6532
line-height: 1.1;
6633
}
6734
h1, h2, h3 {
6835
margin-top: 20px;
69-
margin-bottom: 15px;
70-
}
71-
h1 {
72-
margin-bottom: 20px;
73-
}
74-
@media (min-width: 1170px) {
75-
h1 {
76-
margin-top: 40px;
77-
margin-bottom: 30px;
78-
}
79-
h1, h2, h3 {
80-
margin-top: 30px;
81-
margin-bottom: 15px;
82-
}
36+
margin-bottom: 10px;
8337
}
8438
h4, h5, h6 {
8539
margin-top: 12px;
8640
margin-bottom: 10px;
87-
padding: 5px 10px;
88-
}
89-
h5, h6 {
41+
padding: .2em .8em;
9042
text-decoration: underline;
9143
}
9244

9345
h1 {
94-
font-size: 28px;
95-
font-weight: 500;
46+
font-size: 36px;
9647
padding: .1em .4em;
48+
margin: 0.67em 0;
9749
border-bottom: 2px solid #ddd;
9850
}
9951
h1.title {
10052
line-height: 1.5em;
10153
}
10254
h2 {
103-
font-size: 26px;
55+
font-size: 30px;
10456
padding: .2em .5em;
10557
border-bottom: 1px solid #ddd;
10658
}
@@ -110,34 +62,17 @@ h3 {
11062
border-bottom: 1px solid #DDE8FC;
11163
}
11264
h4 {
113-
font-size: 22px;
65+
font-size: 18px;
11466
}
11567
h5 {
116-
font-size: 20px;
68+
font-size: 16px;
11769
}
11870
h6 {
119-
font-size: 18px;
120-
}
121-
@media (min-width: 992px) {
122-
h1 {
123-
font-size: 36px;
124-
}
125-
h2 {
126-
font-size: 30px;
127-
}
128-
h3 {
129-
font-size: 26px;
130-
}
71+
font-size: 14px;
13172
}
13273

133-
nav {
134-
column-count: 2;
135-
-moz-column-count: 2;
136-
-webkit-column-count: 2;
137-
font-size: 15px;
138-
}
13974
p {
140-
margin: 0 0 1em 0;
75+
margin: 0 0 10px;
14176
}
14277

14378
strong {
@@ -150,10 +85,10 @@ em {
15085

15186
footer {
15287
border-top: 1px solid #ddd;
153-
font-size: 14.3px;
88+
font-size: 12px;
15489
font-style: italic;
155-
padding-top: 5px;
156-
margin-top: 3em;
90+
padding-top: 4px;
91+
margin-top: 4em;
15792
margin-bottom: 1em;
15893
}
15994

@@ -195,14 +130,16 @@ pre {
195130
border-radius: 0.5em;
196131
white-space: pre-wrap;
197132
padding: 9.5px;
198-
margin: 20px 0;
133+
margin: 10px 0;
199134
font-size: 13px;
200135
word-break: break-all;
201136
word-wrap: break-word;
202137
}
203138
code {
204-
padding: 0 2px;
205-
color: #8D1A38;
139+
padding: 2px 4px;
140+
font-size: 90%;
141+
color: #C7254E;
142+
background-color: #F9F2F4;
206143
white-space: nowrap;
207144
}
208145
pre code {
@@ -233,7 +170,7 @@ pre.rust .lifetime { color: #B76514; }
233170
margin: 0.5em;
234171
font-size: 1.1em;
235172
}
236-
@media only screen and (min-width: 768px) {
173+
@media only screen, handheld and (min-width: 768px) {
237174
#versioninfo {
238175
position: fixed;
239176
bottom: 0px;
@@ -248,7 +185,7 @@ pre.rust .lifetime { color: #B76514; }
248185
}
249186
#versioninfo a.hash {
250187
color: gray;
251-
font-size: 80%;
188+
font-size: 70%;
252189
}
253190

254191
blockquote {
@@ -260,16 +197,21 @@ blockquote {
260197
blockquote p {
261198
font-size: 17px;
262199
font-weight: 300;
263-
line-height: 1.4;
200+
line-height: 1.25;
264201
}
265202
blockquote p:last-child {
266203
margin-bottom: 0;
267204
}
268205

269-
ul, ol {
270-
padding-left: 25px;
206+
ul,
207+
ol {
208+
margin-top: 0;
209+
margin-bottom: 10px;
271210
}
272-
ul ul, ol ul, ul ol, ol ol {
211+
ul ul,
212+
ol ul,
213+
ul ol,
214+
ol ol {
273215
margin-bottom: 0;
274216
}
275217
dl {
@@ -279,14 +221,13 @@ dd {
279221
margin-left: 0;
280222
}
281223

282-
nav ul {
224+
#TOC ul {
283225
list-style-type: none;
284-
margin: 0;
285226
padding-left: 0px;
286227
}
287228

288229
/* Only display one level of hierarchy in the TOC */
289-
nav ul ul {
230+
#TOC ul ul {
290231
display: none;
291232
}
292233

0 commit comments

Comments
 (0)