Skip to content

Commit c95e3ab

Browse files
committed
Remove transitional interfaces from std::extfmt
1 parent 53df58a commit c95e3ab

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

src/lib/extfmt.rs

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -270,23 +270,6 @@ mod rt {
270270
// instead just use a bool per flag
271271
type conv = {flags: [flag], width: count, precision: count, ty: ty};
272272

273-
// FIXME: Remove these transitional *_ivec interfaces
274-
fn conv_int_ivec(cv: &conv, i: int) -> str {
275-
conv_int(cv, i)
276-
}
277-
fn conv_uint_ivec(cv: &conv, u: uint) -> str {
278-
conv_uint(cv, u)
279-
}
280-
fn conv_bool_ivec(cv: &conv, b: bool) -> str {
281-
conv_bool(cv, b)
282-
}
283-
fn conv_char_ivec(cv: &conv, c: char) -> str {
284-
conv_char(cv, c)
285-
}
286-
fn conv_str_ivec(cv: &conv, s: str) -> str {
287-
conv_str(cv, s)
288-
}
289-
290273
fn conv_int(cv: &conv, i: int) -> str {
291274
let radix = 10u;
292275
let prec = get_int_precision(cv);
@@ -317,7 +300,7 @@ mod rt {
317300
// run the boolean conversion through the string conversion logic,
318301
// giving it the same rules for precision, etc.
319302

320-
ret conv_str_ivec(cv, s);
303+
ret conv_str(cv, s);
321304
}
322305
fn conv_char(cv: &conv, c: char) -> str {
323306
ret pad(cv, str::from_char(c), pad_nozero);

0 commit comments

Comments
 (0)