]> git.lizzy.rs Git - rust.git/commitdiff
impl Debug for SplitWhitespace.
authorClar Charr <clar@charr.xyz>
Sun, 3 Sep 2017 23:13:01 +0000 (19:13 -0400)
committerClar Charr <clar@charr.xyz>
Sun, 3 Sep 2017 23:13:01 +0000 (19:13 -0400)
src/libstd_unicode/u_str.rs

index 1274b0625875bbf6199be96e1c1be4c71e90fba7..0046e3f7bd0938ca379cbe00b31b4fd022e0d3de 100644 (file)
@@ -26,7 +26,7 @@
 /// [`split_whitespace`]: ../../std/primitive.str.html#method.split_whitespace
 /// [`str`]: ../../std/primitive.str.html
 #[stable(feature = "split_whitespace", since = "1.1.0")]
-#[derive(Clone)]
+#[derive(Clone, Debug)]
 pub struct SplitWhitespace<'a> {
     inner: Filter<Split<'a, IsWhitespace>, IsNotEmpty>,
 }