From 709b5e8c89a5cdce911b26d2617f08c481c26341 Mon Sep 17 00:00:00 2001 From: Ulrik Sverdrup Date: Thu, 16 Apr 2015 10:02:22 +0200 Subject: [PATCH] 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 .. --- src/libcore/ops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index 00039c4fcdf15..adfbd14121f58 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -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, "..") } }