Skip to content

Commit e93ca1b

Browse files
committed
---
yaml --- r: 7626 b: refs/heads/master c: c42b52b h: refs/heads/master v: v3
1 parent 7f433d1 commit e93ca1b

File tree

8 files changed

+11
-518
lines changed

8 files changed

+11
-518
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 07f8555b3e5d1b0a31936ed7ca08358d2919dd2f
2+
refs/heads/master: c42b52b3fd200f3de8bc563a5f805389e25a08cc

trunk/doc/rust.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ with any other legal whitespace element, such as a single space character.
190190
## Tokens
191191

192192
~~~~~~~~ {.ebnf .gram}
193-
simple_token : keyword | reserved | unop | binop ;
193+
simple_token : keyword | reserved | unop | binop ;
194194
token : simple_token | ident | literal | symbol | whitespace token ;
195195
~~~~~~~~
196196

@@ -511,7 +511,7 @@ from the source file name, with the `.rs` extension removed.
511511
## Crate files
512512

513513
~~~~~~~~ {.ebnf .gram}
514-
crate : attribute [ ';' | attribute* directive ]
514+
crate : attribute [ ';' | attribute* directive ]
515515
| directive ;
516516
directive : view_item | dir_directive | source_directive ;
517517
~~~~~~~~
@@ -730,7 +730,7 @@ independently declared with [`use` declarations](#use-declarations).
730730

731731
Imports support a number of "convenience" notations:
732732

733-
* Importing as a different name than the imported name, using the
733+
* Importing as a different name than the imported name, using the
734734
syntax `import x = p::q::r;`.
735735
* Importing a list of paths differing only in final element, using
736736
the glob-like brace syntax `import a::b::{c,d,e,f};`
@@ -1153,7 +1153,7 @@ An _implementation item_ provides an implementation of an
11531153

11541154
~~~~
11551155
type circle = {radius: float, center: point};
1156-
1156+
11571157
impl circle_shape of shape for circle {
11581158
fn draw(s: surface) { do_draw_circle(s, self); }
11591159
fn bounding_box() -> bounding_box {
@@ -1313,7 +1313,7 @@ declaring a function-local item.
13131313

13141314
~~~~~~~~{.ebnf .gram}
13151315
let_decl : "let" pat [':' type ] ? [ init ] ? ';' ;
1316-
init : [ '=' | '<-' ] expr ;
1316+
init : [ '=' | '<-' ] expr ;
13171317
~~~~~~~~
13181318

13191319

@@ -1941,7 +1941,7 @@ for e: foo in v {
19411941
~~~~~~~~{.ebnf .gram}
19421942
if_expr : "if" expr '{' block '}'
19431943
[ "else" else_tail ] ? ;
1944-
1944+
19451945
else_tail : "else" [ if_expr
19461946
| '{' block '} ] ;
19471947
~~~~~~~~
@@ -2331,11 +2331,11 @@ introduced inline in source code using the `macro` extension, may be used. The
23312331
current built-in syntax extensions are:
23322332

23332333

2334-
* `fmt` expands into code to produce a formatted string, similar to
2334+
* `fmt` expands into code to produce a formatted string, similar to
23352335
`printf` from C.
23362336
* `env` expands into a string literal containing the value of that
23372337
environment variable at compile-time.
2338-
* `concat_idents` expands into an identifier which is the
2338+
* `concat_idents` expands into an identifier which is the
23392339
concatenation of its arguments.
23402340
* `ident_to_str` expands into a string literal containing the name of
23412341
its argument (which must be a literal).
@@ -2750,7 +2750,7 @@ A _constraint_ is a predicate applied to specific slots.
27502750
For example, consider the following code:
27512751

27522752
~~~~~~~~
2753-
pure fn is_less_than(int a, int b) -> bool {
2753+
pure fn is_less_than(a: int, b: int) -> bool {
27542754
ret a < b;
27552755
}
27562756

trunk/mk/rt.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ RUNTIME_CS_$(1) := \
4848
rt/rust_port.cpp \
4949
rt/rust_upcall.cpp \
5050
rt/rust_uv.cpp \
51-
rt/rust_uvtmp.cpp \
5251
rt/rust_log.cpp \
5352
rt/rust_timer.cpp \
5453
rt/circular_buffer.cpp \

trunk/src/libstd/std.rc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#[license = "MIT"];
88
#[crate_type = "lib"];
99

10-
export fs, io, net, run, uv, uvtmp;
10+
export fs, io, net, run, uv;
1111
export c_vec, four, tri, util;
1212
export bitv, deque, fun_treemap, list, map, smallintmap, sort, treemap, ufind;
1313
export rope;
@@ -25,7 +25,6 @@ mod net;
2525
#[path = "run_program.rs"]
2626
mod run;
2727
mod uv;
28-
mod uvtmp;
2928

3029

3130
// Utility modules

trunk/src/libstd/uvtmp.rs

Lines changed: 0 additions & 149 deletions
This file was deleted.

trunk/src/rt/rust_uv.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@ extern "C" CDECL size_t
4848
rust_uv_size_of_idle_t() {
4949
return sizeof(uv_idle_t);
5050
}
51-

0 commit comments

Comments
 (0)