fix: Allow a clippy lint that is a bad suggestion
parent
40decd0154
commit
78aa66d699
|
@ -459,6 +459,7 @@ impl BlockData {
|
|||
/// overwrites previous values. Therefore, in order to have "last write
|
||||
/// wins" semantics it is important that the provided vector of blocks
|
||||
/// is ordered by the wall-clock time the blocks were created.
|
||||
#[allow(clippy::manual_flatten)] // https://github.com/rust-lang/rust-clippy/issues/6784
|
||||
pub fn merge(mut blocks: Vec<Self>) -> Self {
|
||||
if blocks.is_empty() {
|
||||
panic!("merge called with zero blocks");
|
||||
|
|
Loading…
Reference in New Issue