Struct expectest::matchers::BeEmpty
[−]
[src]
pub struct BeEmpty;
A matcher for be_empty
assertions.
Trait Implementations
impl<A> Matcher<A, ()> for BeEmpty where A: IsEmpty + Debug
[src]
fn failure_message(&self, join: Join, actual: &A) -> String
Returns a failure message.
fn matches(&self, actual: &A) -> bool
Checks if an actual value matches an expected value.