summary refs log tree commit diff
path: root/src/libstd/fmt
diff options
context:
space:
mode:
authorreedlepee <reedlepee123@gmail.com>2013-10-20 08:56:42 +0530
committerreedlepee <reedlepee123@gmail.com>2013-10-23 01:10:50 +0530
commitad465441ba3424cc5bcba2227c6a42ffe09fd77f (patch)
tree6ee335e4b7e144450fdc2e1d729602cc5a70148e /src/libstd/fmt
parent0ada7c7ffe453b9df849996f8dca0b8d0f2d9e62 (diff)
downloadrust-ad465441ba3424cc5bcba2227c6a42ffe09fd77f.tar.gz
rust-ad465441ba3424cc5bcba2227c6a42ffe09fd77f.zip
Removed Unnecessary comments and white spaces #4386
Diffstat (limited to 'src/libstd/fmt')
-rw-r--r--src/libstd/fmt/mod.rs3
-rw-r--r--src/libstd/fmt/parse.rs8
-rw-r--r--src/libstd/fmt/rt.rs4
3 files changed, 1 insertions, 14 deletions
diff --git a/src/libstd/fmt/mod.rs b/src/libstd/fmt/mod.rs
index b47559b6055..e5188d737bd 100644
--- a/src/libstd/fmt/mod.rs
+++ b/src/libstd/fmt/mod.rs
@@ -477,7 +477,6 @@ pub mod rt;
 /// should be formatted. A mutable version of this is passed to all formatting
 /// traits.
 pub struct Formatter<'self> {
-    // made by reedlepee
     /// Flags for formatting (packed version of rt::Flag)
      flags: uint,
     /// Character used as 'fill' whenever there is alignment
@@ -502,7 +501,6 @@ pub struct Formatter<'self> {
 /// compile time it is ensured that the function and the value have the correct
 /// types, and then this struct is used to canonicalize arguments to one type.
 pub struct Argument<'self> {
-    // already priv
     priv formatter: extern "Rust" fn(&util::Void, &mut Formatter),
     priv value: &'self util::Void,
 }
@@ -529,7 +527,6 @@ impl<'self> Arguments<'self> {
 /// string at compile-time so usage of the `write` and `format` functions can
 /// be safely performed.
 pub struct Arguments<'self> {
-    // already priv
     priv fmt: &'self [rt::Piece<'self>],
     priv args: &'self [Argument<'self>],
 }
diff --git a/src/libstd/fmt/parse.rs b/src/libstd/fmt/parse.rs
index fea512c08b4..504050f9a77 100644
--- a/src/libstd/fmt/parse.rs
+++ b/src/libstd/fmt/parse.rs
@@ -38,20 +38,17 @@ pub enum Piece<'self> {
 /// Representation of an argument specification.
 #[deriving(Eq)]
 pub struct Argument<'self> {
-    // made by reedlepee
     /// Where to find this argument
     position: Position<'self>,
-    ///  How to format the argument
+    /// How to format the argument
     format: FormatSpec<'self>,
     /// If not `None`, what method to invoke on the argument
-    // should be public
     method: Option<~Method<'self>>
 }
 
 /// Specification for the formatting of an argument in the format string.
 #[deriving(Eq)]
 pub struct FormatSpec<'self> {
-    // made by reedlepee
     /// Optionally specified character to fill alignment with
     fill: Option<char>,
     /// Optionally specified alignment
@@ -128,7 +125,6 @@ pub enum Method<'self> {
 /// Structure representing one "arm" of the `plural` function.
 #[deriving(Eq)]
 pub struct PluralArm<'self> {
-    // made by reedlepee
     /// A selector can either be specified by a keyword or with an integer
     /// literal.
     selector: Either<PluralKeyword, uint>,
@@ -149,7 +145,6 @@ pub enum PluralKeyword {
 /// Structure representing one "arm" of the `select` function.
 #[deriving(Eq)]
 pub struct SelectArm<'self> {
-    // made by reedlepee
     /// String selector which guards this arm
     selector: &'self str,
     /// Array of pieces which are the format of this arm
@@ -163,7 +158,6 @@ pub struct SelectArm<'self> {
 /// This is a recursive-descent parser for the sake of simplicity, and if
 /// necessary there's probably lots of room for improvement performance-wise.
 pub struct Parser<'self> {
-    // already priv
     priv input: &'self str,
     priv cur: str::CharOffsetIterator<'self>,
     priv depth: uint,
diff --git a/src/libstd/fmt/rt.rs b/src/libstd/fmt/rt.rs
index a623695c8a1..d9a7557e553 100644
--- a/src/libstd/fmt/rt.rs
+++ b/src/libstd/fmt/rt.rs
@@ -29,14 +29,12 @@ pub enum Piece<'self> {
 }
 
 pub struct Argument<'self> {
-    /// should be public
     position: Position,
     format: FormatSpec,
     method: Option<&'self Method<'self>>
 }
 
 pub struct FormatSpec {
-    /// made by redlepee
     fill: char,
     align: parse::Alignment,
     flags: uint,
@@ -58,13 +56,11 @@ pub enum Method<'self> {
 }
 
 pub struct PluralArm<'self> {
-    /// made by redlepee
     selector: Either<parse::PluralKeyword, uint>,
     result: &'self [Piece<'self>],
 }
 
 pub struct SelectArm<'self> {
-    /// made by redlepee
     selector: &'self str,
     result: &'self [Piece<'self>],
 }