Skip to content

Commit 8586f27

Browse files
committed
---
yaml --- r: 3110 b: refs/heads/master c: 7e806c5 h: refs/heads/master v: v3
1 parent d6fc86a commit 8586f27

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
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: ce72993488af962892ea3991aef7b9f6e72e40f0
2+
refs/heads/master: 7e806c5e87c311cf5b500fd7b019a779263763a8

trunk/src/comp/pretty/pprust.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,11 @@ fn print_item(&ps s, &@ast::item item) {
314314
print_fn(s, decl, ast::proto_fn, id, typarams);
315315
alt (lname) {
316316
case (none) { }
317-
case (some(?ss)) { print_string(s, ss); }
317+
case (some(?ss)) {
318+
space(s.s);
319+
word_space(s, "=");
320+
print_string(s, ss);
321+
}
318322
}
319323
end(s); // end head-ibox
320324

trunk/src/lib/win32_os.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import str::sbuf;
33
import vec::vbuf;
44

55
native "cdecl" mod libc {
6-
fn open(sbuf s, int flags, uint mode) -> int"_open";
7-
fn read(int fd, vbuf buf, uint count) -> int"_read";
8-
fn write(int fd, vbuf buf, uint count) -> int"_write";
9-
fn close(int fd) -> int"_close";
6+
fn open(sbuf s, int flags, uint mode) -> int = "_open";
7+
fn read(int fd, vbuf buf, uint count) -> int = "_read";
8+
fn write(int fd, vbuf buf, uint count) -> int = "_write";
9+
fn close(int fd) -> int = "_close";
1010
type FILE;
1111
fn fopen(sbuf path, sbuf mode) -> FILE;
1212
fn _fdopen(int fd, sbuf mode) -> FILE;

0 commit comments

Comments
 (0)