From cc61fc09945aeec6fc71a07e91b8610fa71f6425 Mon Sep 17 00:00:00 2001 From: Salem Talha Date: Sun, 26 Jan 2014 03:43:42 -0500 Subject: Removed all instances of XXX in preparation for relaxing of FIXME rule --- src/libstd/fmt/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libstd/fmt') diff --git a/src/libstd/fmt/mod.rs b/src/libstd/fmt/mod.rs index 5b2a792a05b..111eb70eb20 100644 --- a/src/libstd/fmt/mod.rs +++ b/src/libstd/fmt/mod.rs @@ -780,7 +780,7 @@ impl<'a> Formatter<'a> { rt::Keyword(parse::One) => value == 1, rt::Keyword(parse::Two) => value == 2, - // XXX: Few/Many should have a user-specified boundary + // FIXME: Few/Many should have a user-specified boundary // One possible option would be in the function // pointer of the 'arg: Argument' struct. rt::Keyword(parse::Few) => value < 8, @@ -1085,7 +1085,7 @@ integer!(i64, u64) macro_rules! floating(($ty:ident) => { impl Float for $ty { fn fmt(f: &$ty, fmt: &mut Formatter) { - // XXX: this shouldn't perform an allocation + // FIXME: this shouldn't perform an allocation let s = match fmt.precision { Some(i) => ::$ty::to_str_exact(f.abs(), i), None => ::$ty::to_str_digits(f.abs(), 6) @@ -1096,7 +1096,7 @@ macro_rules! floating(($ty:ident) => { impl LowerExp for $ty { fn fmt(f: &$ty, fmt: &mut Formatter) { - // XXX: this shouldn't perform an allocation + // FIXME: this shouldn't perform an allocation let s = match fmt.precision { Some(i) => ::$ty::to_str_exp_exact(f.abs(), i, false), None => ::$ty::to_str_exp_digits(f.abs(), 6, false) @@ -1107,7 +1107,7 @@ macro_rules! floating(($ty:ident) => { impl UpperExp for $ty { fn fmt(f: &$ty, fmt: &mut Formatter) { - // XXX: this shouldn't perform an allocation + // FIXME: this shouldn't perform an allocation let s = match fmt.precision { Some(i) => ::$ty::to_str_exp_exact(f.abs(), i, true), None => ::$ty::to_str_exp_digits(f.abs(), 6, true) -- cgit 1.4.1-3-g733a5