Skip to content

Commit 923c351

Browse files
Rollup merge of rust-lang#44303 - clarcharr:debugs, r=alexcrichton
impl Debug for SplitWhitespace. This one got missed because `libstd_unicode` doesn't have a `deny(missing_debug_implementations)` like `libstd` and `libcore`. I think that perhaps this lint should check for items exported from other crates too.
2 parents fee0b67 + 4260e43 commit 923c351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd_unicode/u_str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use core::str::Split;
2626
/// [`split_whitespace`]: ../../std/primitive.str.html#method.split_whitespace
2727
/// [`str`]: ../../std/primitive.str.html
2828
#[stable(feature = "split_whitespace", since = "1.1.0")]
29-
#[derive(Clone)]
29+
#[derive(Clone, Debug)]
3030
pub struct SplitWhitespace<'a> {
3131
inner: Filter<Split<'a, IsWhitespace>, IsNotEmpty>,
3232
}

0 commit comments

Comments
 (0)