Skip to content

Commit 2b8f2fa

Browse files
committed
---
yaml --- r: 6750 b: refs/heads/master c: d1bca75 h: refs/heads/master v: v3
1 parent 94d9fce commit 2b8f2fa

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
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: 88818334b7d6e4c4dfd07cdea09255ac8d42e5b7
2+
refs/heads/master: d1bca753b8c5924272978a38cb08db6679f2cf0d

trunk/src/comp/syntax/ext/fmt.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,8 @@ fn pieces_to_expr(cx: ext_ctxt, sp: span, pieces: [piece], args: [@ast::expr])
9696
let recexpr = ast::expr_rec(astfields, option::none::<@ast::expr>);
9797
ret @{id: cx.next_id(), node: recexpr, span: sp};
9898
}
99-
fn make_path_vec(cx: ext_ctxt, ident: ast::ident) -> [ast::ident] {
100-
fn compiling_std(cx: ext_ctxt) -> bool {
101-
ret str::find(cx.crate_file_name(), "std.rc") >= 0;
102-
}
103-
if compiling_std(cx) {
104-
ret ["extfmt", "rt", ident];
105-
} else { ret ["std", "extfmt", "rt", ident]; }
99+
fn make_path_vec(_cx: ext_ctxt, ident: ast::ident) -> [ast::ident] {
100+
ret ["extfmt", "rt", ident];
106101
}
107102
fn make_rt_path_expr(cx: ext_ctxt, sp: span, ident: str) -> @ast::expr {
108103
let path = make_path_vec(cx, ident);

0 commit comments

Comments
 (0)