diff options
| author | Salem Talha <salem.a.talha@gmail.com> | 2014-01-26 03:43:42 -0500 |
|---|---|---|
| committer | Salem Talha <salem.a.talha@gmail.com> | 2014-01-26 14:42:53 -0500 |
| commit | cc61fc09945aeec6fc71a07e91b8610fa71f6425 (patch) | |
| tree | 28b2a4a2742d0f8fa29c19bca7b6f35f441a7a2a /src/libstd/fmt | |
| parent | 838b5a4cc072057f31453cdd1b50345f92e1a772 (diff) | |
| download | rust-cc61fc09945aeec6fc71a07e91b8610fa71f6425.tar.gz rust-cc61fc09945aeec6fc71a07e91b8610fa71f6425.zip | |
Removed all instances of XXX in preparation for relaxing of FIXME rule
Diffstat (limited to 'src/libstd/fmt')
| -rw-r--r-- | src/libstd/fmt/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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) |
