Fix Debug impl for RangeFull

The Debug impl was using quotes, which was inconsistent:

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

Fix to use just ..
This commit is contained in:
Ulrik Sverdrup 2015-04-16 10:02:22 +02:00
parent 798fa2276c
commit 709b5e8c89
1 changed files with 1 additions and 1 deletions

View File

@ -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, "..")
}
}