Skip to content

Commit c9139b0

Browse files
committed
Allow clippy::too_many_arguments for CacheDev new() and setup()
1 parent 03f9f8b commit c9139b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cachedev.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ impl DmDevice<CacheDevTargetTable> for CacheDev {
558558
impl CacheDev {
559559
/// Construct a new CacheDev with the given data and meta devs.
560560
/// Returns an error if the device is already known to the kernel.
561+
#[allow(clippy::too_many_arguments)]
561562
pub fn new(
562563
dm: &DM,
563564
name: &DmName,
@@ -590,6 +591,7 @@ impl CacheDev {
590591
}
591592

592593
/// Set up a cache device from the given metadata and data devices.
594+
#[allow(clippy::too_many_arguments)]
593595
pub fn setup(
594596
dm: &DM,
595597
name: &DmName,

0 commit comments

Comments
 (0)