Import Debug instead of full reference

This commit is contained in:
Andras Schmelczer 2025-06-29 15:57:04 +01:00
commit d23fad5382

View file

@ -1,4 +1,5 @@
use core::iter;
use std::fmt::Debug;
use crate::raw_operation::RawOperation;
@ -8,7 +9,7 @@ use crate::raw_operation::RawOperation;
pub fn elongate_operations<I, T>(raw_operations: I) -> Vec<RawOperation<T>>
where
I: IntoIterator<Item = RawOperation<T>>,
T: PartialEq + Clone + std::fmt::Debug,
T: PartialEq + Clone + Debug,
{
// This might look bad, but this makes sense. The inserts and deltes can be
// interleaved, such as: IDIDID and we need to turn this into IIIDDD.