Skip to content

Commit 7057ca4

Browse files
committed
---
yaml --- r: 3761 b: refs/heads/master c: 7060f4c h: refs/heads/master i: 3759: 6ba8d8b v: v3
1 parent d16e12a commit 7057ca4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
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: 36c4cb37ad3d96897f229f2af48c76c018bb680e
2+
refs/heads/master: 7060f4c89c76f9f715b706b81545c7a082d7c50c

trunk/src/comp/syntax/print/pprust.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,8 +1499,9 @@ fn next_comment(&ps s) -> option::t[lexer::cmnt] {
14991499
}
15001500
}
15011501

1502-
1503-
fn constr_args_to_str[T](fn(&T) -> str f,
1502+
// Removing the aliases from the type of f in the next two functions
1503+
// triggers memory corruption, but I haven't isolated the bug yet. FIXME
1504+
fn constr_args_to_str[T](&fn(&T) -> str f,
15041505
&(@ast::constr_arg_general[T])[] args) -> str {
15051506
auto comma = false;
15061507
auto s = "(";
@@ -1512,7 +1513,7 @@ fn constr_args_to_str[T](fn(&T) -> str f,
15121513
ret s;
15131514
}
15141515

1515-
fn constr_arg_to_str[T](fn(&T) -> str f, &ast::constr_arg_general_[T] c) ->
1516+
fn constr_arg_to_str[T](&fn(&T) -> str f, &ast::constr_arg_general_[T] c) ->
15161517
str {
15171518
alt (c) {
15181519
case (ast::carg_base) { ret "*"; }

0 commit comments

Comments
 (0)