Skip to content

Commit

Permalink
Fix Debug impl for RangeFull
Browse files Browse the repository at this point in the history
The Debug impl was using quotes, which was inconsistent:

    => (.., 1.., 2..3, ..4)
    ("..", 1.., 2..3, ..4)

Fix to use just ..
  • Loading branch information
Ulrik Sverdrup committed Apr 16, 2015
1 parent 798fa22 commit 709b5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ pub struct RangeFull;
#[stable(feature = "rust1", since = "1.0.0")]
impl fmt::Debug for RangeFull {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
fmt::Debug::fmt("..", fmt)
write!(fmt, "..")
}
}

Expand Down

0 comments on commit 709b5e8

Please sign in to comment.