formats code, clippy

This commit is contained in:
Fabian Kaczmarczyck
2021-01-25 18:08:48 +01:00
parent 563f35184a
commit 4f3c773b15
2 changed files with 11 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ use alloc::vec::Vec;
use core::ops::Range;
/// Represents a sequence of keys.
#[allow(clippy::len_without_is_empty)]
pub trait Keys {
/// Returns the number of keys.
fn len(&self) -> usize;