Skip to content

Commit

Permalink
Rollup merge of rust-lang#44303 - clarcharr:debugs, r=alexcrichton
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mark-Simulacrum committed Sep 7, 2017
2 parents fee0b67 + 4260e43 commit 923c351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd_unicode/u_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use core::str::Split;
/// [`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>,
}
Expand Down

0 comments on commit 923c351

Please sign in to comment.