We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
len
is_empty
impl
The following code triggers the len_without_is_empty lint.
len_without_is_empty
impl Foo { fn len(&self) -> usize { 0 } } impl Foo { fn is_empty(&self) -> bool { true } }