diff options
| author | reedlepee <reedlepee123@gmail.com> | 2013-10-20 11:21:30 +0530 |
|---|---|---|
| committer | reedlepee <reedlepee123@gmail.com> | 2013-10-23 01:10:50 +0530 |
| commit | 92662a9f9101c702215a6160eb3af0aabc583423 (patch) | |
| tree | 3a810232670bd76a18b966a28191951b96113d1e /src/libstd/fmt | |
| parent | ad465441ba3424cc5bcba2227c6a42ffe09fd77f (diff) | |
| download | rust-92662a9f9101c702215a6160eb3af0aabc583423.tar.gz rust-92662a9f9101c702215a6160eb3af0aabc583423.zip | |
Removed unnecessary comments and white spaces as suggested
Diffstat (limited to 'src/libstd/fmt')
| -rw-r--r-- | src/libstd/fmt/mod.rs | 6 | ||||
| -rw-r--r-- | src/libstd/fmt/rt.rs | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/libstd/fmt/mod.rs b/src/libstd/fmt/mod.rs index e5188d737bd..9d5c9c1a5cd 100644 --- a/src/libstd/fmt/mod.rs +++ b/src/libstd/fmt/mod.rs @@ -478,7 +478,7 @@ pub mod rt; /// traits. pub struct Formatter<'self> { /// Flags for formatting (packed version of rt::Flag) - flags: uint, + flags: uint, /// Character used as 'fill' whenever there is alignment fill: char, /// Boolean indication of whether the output should be left-aligned @@ -486,12 +486,10 @@ pub struct Formatter<'self> { /// Optionally specified integer width that the output should be width: Option<uint>, /// Optionally specified precision for numeric types - precision: Option<uint>, + precision: Option<uint>, /// Output buffer. buf: &'self mut io::Writer, - - // already priv priv curarg: vec::VecIterator<'self, Argument<'self>>, priv args: &'self [Argument<'self>], } diff --git a/src/libstd/fmt/rt.rs b/src/libstd/fmt/rt.rs index d9a7557e553..b20af1a35b8 100644 --- a/src/libstd/fmt/rt.rs +++ b/src/libstd/fmt/rt.rs @@ -38,7 +38,7 @@ pub struct FormatSpec { fill: char, align: parse::Alignment, flags: uint, - precision: Count, + precision: Count, width: Count, } |
