Skip to content

Commit 90447c2

Browse files
committed
---
yaml --- r: 102343 b: refs/heads/master c: 3158047 h: refs/heads/master i: 102341: 026c23c 102339: 67115d4 102335: e685cad v: v3
1 parent 0ea7ce1 commit 90447c2

File tree

22 files changed

+108
-158
lines changed

22 files changed

+108
-158
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: a15448c85a557a2b047e4ed94fb36000320cccb5
2+
refs/heads/master: 3158047a459b6d60d0f8f6bf5c299db0910e029a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
55
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff

trunk/src/doc/rust.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ h5 a:link, h5 a:visited {color: black;}
111111
/* Code
112112
========================================================================== */
113113
pre, code {
114-
font-family: Menlo, Monaco, Consolas, "DejaVu Sans Mono", monospace;
114+
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
115115
border-radius: 4px;
116116
}
117117
pre {
118-
background-color: #FDFDFD;
118+
background-color: #F5F5F5;
119119
border: 1px solid #CCC;
120120
border-radius: 0.5em;
121121
white-space: pre-wrap;
@@ -142,24 +142,24 @@ pre code {
142142
}
143143

144144
/* Code highlighting */
145-
.cm-s-default span.cm-keyword {color: #8959A8;}
145+
.cm-s-default span.cm-keyword {color: #803C8D;}
146146
.cm-s-default span.cm-atom {color: #219;}
147-
.cm-s-default span.cm-number {color: #3E999F;}
148-
.cm-s-default span.cm-def {color: #4271AE;}
149-
/*.cm-s-default span.cm-variable {color: #C82829;}*/
150-
.cm-s-default span.cm-variable-2 {color: #6F906C;}
151-
.cm-s-default span.cm-variable-3 {color: #B76514;}
147+
.cm-s-default span.cm-number {color: #2AA198;}
148+
.cm-s-default span.cm-def {color: #256EB8;}
149+
.cm-s-default span.cm-variable {color: black;}
150+
.cm-s-default span.cm-variable-2 {color: #817E61;}
151+
.cm-s-default span.cm-variable-3 {color: #085;}
152152
.cm-s-default span.cm-property {color: black;}
153153
.cm-s-default span.cm-operator {color: black;}
154-
.cm-s-default span.cm-comment {color: #8E908C;}
155-
.cm-s-default span.cm-string {color: #718C00;}
156-
.cm-s-default span.cm-string-2 {color: #866544;}
154+
.cm-s-default span.cm-comment {color: #A82323;}
155+
.cm-s-default span.cm-string {color: #866544;}
156+
.cm-s-default span.cm-string-2 {color: #F50;}
157157
.cm-s-default span.cm-meta {color: #555;}
158158
/*.cm-s-default span.cm-error {color: #F00;}*/
159159
.cm-s-default span.cm-qualifier {color: #555;}
160160
.cm-s-default span.cm-builtin {color: #30A;}
161161
.cm-s-default span.cm-bracket {color: #CC7;}
162-
.cm-s-default span.cm-tag {color: #C82829;}
162+
.cm-s-default span.cm-tag {color: #170;}
163163
.cm-s-default span.cm-attribute {color: #00C;}
164164

165165
/* The rest

trunk/src/doc/rustdoc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ is how the above advertisement works. An example from the `libstd`
6363
documentation:
6464

6565
~~~
66-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
66+
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
6767
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
6868
html_root_url = "http://static.rust-lang.org/doc/master")];
6969
~~~

trunk/src/libextra/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Rust extras are part of the standard Rust distribution.
2525
#[license = "MIT/ASL2"];
2626
#[crate_type = "rlib"];
2727
#[crate_type = "dylib"];
28-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
28+
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
2929
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
3030
html_root_url = "http://static.rust-lang.org/doc/master")];
3131

trunk/src/libgreen/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
#[license = "MIT/ASL2"];
168168
#[crate_type = "rlib"];
169169
#[crate_type = "dylib"];
170-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
170+
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
171171
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
172172
html_root_url = "http://static.rust-lang.org/doc/master")];
173173

trunk/src/libgreen/simple.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
//! A small module implementing a simple "runtime" used for bootstrapping a rust
1212
//! scheduler pool and then interacting with it.
1313
14+
use std::any::Any;
1415
use std::cast;
1516
use std::rt::Runtime;
1617
use std::rt::local::Local;

trunk/src/libgreen/task.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
//! contains the rust task itself in order to juggle around ownership of the
1919
//! values.
2020
21+
use std::any::Any;
2122
use std::cast;
2223
use std::rt::env;
2324
use std::rt::Runtime;

trunk/src/libnative/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#[license = "MIT/ASL2"];
4646
#[crate_type = "rlib"];
4747
#[crate_type = "dylib"];
48-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
48+
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
4949
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
5050
html_root_url = "http://static.rust-lang.org/doc/master")];
5151
#[deny(unused_result, unused_must_use)];

trunk/src/libnative/task.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
//! by rust tasks. This implements the necessary API traits laid out by std::rt
1515
//! in order to spawn new tasks and deschedule the current task.
1616
17+
use std::any::Any;
1718
use std::cast;
1819
use std::rt::env;
1920
use std::rt::local::Local;

trunk/src/librustc/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This API is completely unstable and subject to change.
2323
#[license = "MIT/ASL2"];
2424
#[crate_type = "dylib"];
2525
#[crate_type = "rlib"];
26-
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
26+
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
2727
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
2828
html_root_url = "http://static.rust-lang.org/doc/master")];
2929

@@ -46,6 +46,7 @@ use middle::lint;
4646

4747
use d = driver::driver;
4848

49+
use std::any::AnyRefExt;
4950
use std::cmp;
5051
use std::io;
5152
use std::os;

trunk/src/librustdoc/html/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn render<T: fmt::Show, S: fmt::Show>(
3535
<meta charset=\"utf-8\" />
3636
<title>{title}</title>
3737
38-
<link href='http://fonts.googleapis.com/css?family=Oswald:700|Inconsolata:400,700'
38+
<link href='http://fonts.googleapis.com/css?family=Oswald:700|Inconsolata:400'
3939
rel='stylesheet' type='text/css'>
4040
<link rel=\"stylesheet\" type=\"text/css\" href=\"{root_path}{krate}/main.css\">
4141

trunk/src/librustdoc/html/static/main.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ h2 code, h3 code, h4 code {
4343
}
4444

4545
code, pre, h1.fqn {
46-
font-family: "Inconsolata", Menlo, Monaco, Consolas, "DejaVu Sans Mono", monospace;
46+
font-family: Menlo, Monaco, Consolas, "Inconsolata", "Courier New", monospace;
4747
}
4848
code, pre {
4949
color: #333;
@@ -304,18 +304,18 @@ a {
304304

305305
:target { background: #FDFFD3; }
306306

307-
pre.rust, pre.line-numbers { background-color: #FDFDFD; }
308-
309-
/* Code Highlighting */
310-
pre.rust .kw { color: #8959A8; }
311-
pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
312-
pre.rust .number { color: #718C00; }
313-
pre.rust .self { color: #C13928; }
314-
pre.rust .boolval { color: #C13928; }
315-
pre.rust .prelude-val { color: #C13928; }
316-
pre.rust .comment { color: #8E908C; }
317-
pre.rust .doccomment { color: #4D4D4C; }
318-
pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999f; }
319-
pre.rust .string { color: #718C00; }
320-
pre.rust .lifetime { color: #C13928; }
321-
pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
307+
pre.rust .kw { color: #cc782f; }
308+
pre.rust .kw-2 { color: #3bbb33; }
309+
pre.rust .prelude-ty { color: #3bbb33; }
310+
pre.rust .number { color: #c13928; }
311+
pre.rust .self { color: #c13928; }
312+
pre.rust .boolval { color: #c13928; }
313+
pre.rust .prelude-val { color: #c13928; }
314+
pre.rust .op { color: #cc782f; }
315+
pre.rust .comment { color: #533add; }
316+
pre.rust .doccomment { color: #d343d0; }
317+
pre.rust .macro { color: #d343d0; }
318+
pre.rust .macro-nonterminal { color: #d343d0; }
319+
pre.rust .string { color: #c13928; }
320+
pre.rust .lifetime { color: #d343d0; }
321+
pre.rust .attribute { color: #d343d0 !important; }

trunk/src/libserialize/json.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,6 +2229,7 @@ mod tests {
22292229
B(~str)
22302230
}
22312231
fn check_err<T: Decodable<Decoder>>(to_parse: &'static str, expected_error: &str) {
2232+
use std::any::AnyRefExt;
22322233
use std::task;
22332234
let res = task::try(proc() {
22342235
// either fails in `decode` (which is what we want), or

0 commit comments

Comments
 (0)