Skip to content

Commit 2b5e2ad

Browse files
committed
---
yaml --- r: 5053 b: refs/heads/master c: 9e2c5f7 h: refs/heads/master i: 5051: 5aa0a6a v: v3
1 parent 6c92270 commit 2b5e2ad

File tree

4 files changed

+1
-17
lines changed

4 files changed

+1
-17
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: fc0212a63bf888008cffe256663317e3472fbab4
2+
refs/heads/master: 9e2c5f77a413bf99fff1d8b4f0629127a5f9bbd3

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

-2
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ fn pieces_to_expr(cx: &ext_ctxt, sp: span, pieces: &[piece],
243243
}
244244
alt cnv.ty {
245245
ty_str. { ret make_conv_call(cx, arg.span, ~"str", cnv, arg); }
246-
ty_istr. { ret make_conv_call(cx, arg.span, ~"istr", cnv, arg); }
247246
ty_int(sign) {
248247
alt sign {
249248
signed. { ret make_conv_call(cx, arg.span, ~"int", cnv, arg); }
@@ -300,7 +299,6 @@ fn pieces_to_expr(cx: &ext_ctxt, sp: span, pieces: &[piece],
300299
alt c.ty {
301300
ty_bool. { log "type: bool"; }
302301
ty_str. { log "type: str"; }
303-
ty_istr. { log "type: istr"; }
304302
ty_char. { log "type: char"; }
305303
ty_int(s) {
306304
alt s {

trunk/src/lib/extfmt.rs

-8
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ mod ct {
4141
ty_bits;
4242
ty_hex(caseness);
4343
ty_octal;
44-
// FIXME: Transitional
45-
ty_istr;
4644
// FIXME: More types
4745
}
4846
tag flag {
@@ -226,8 +224,6 @@ mod ct {
226224
ty_bool
227225
} else if str::eq(tstr, "s") {
228226
ty_str
229-
} else if str::eq(tstr, "S") {
230-
ty_istr
231227
} else if str::eq(tstr, "c") {
232228
ty_char
233229
} else if str::eq(tstr, "d") || str::eq(tstr, "i") {
@@ -325,10 +321,6 @@ mod rt {
325321
ret pad(cv, unpadded, pad_nozero);
326322
}
327323

328-
fn conv_istr(cv: &conv, s: &istr) -> str {
329-
ret conv_str(cv, istr::to_estr(s));
330-
}
331-
332324
// Convert an int to string with minimum number of digits. If precision is
333325
// 0 and num is 0 then the result is the empty string.
334326
fn int_to_str_prec(num: int, radix: uint, prec: uint) -> str {

trunk/src/test/run-pass/syntax-extension-fmt-istr.rs

-6
This file was deleted.

0 commit comments

Comments
 (0)