vec: lazy: remove unneeded phantoms

This commit is contained in:
nym21
2025-07-19 17:47:25 +02:00
parent ccaca524fe
commit 7ef70b953b
3 changed files with 3 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
use std::{borrow::Cow, marker::PhantomData};
use std::borrow::Cow;
use brk_core::{Result, Version};
@@ -19,7 +19,6 @@ where
version: Version,
source: BoxedAnyIterableVec<S1I, S1T>,
compute: ComputeFrom1<I, T, S1I, S1T>,
phantom: PhantomData<I>,
}
impl<I, T, S1I, S1T> LazyVecFrom1<I, T, S1I, S1T>
@@ -44,7 +43,6 @@ where
version,
source,
compute,
phantom: PhantomData,
}
}

View File

@@ -1,4 +1,4 @@
use std::{borrow::Cow, marker::PhantomData};
use std::borrow::Cow;
use brk_core::{Result, Version};
@@ -24,7 +24,6 @@ where
source1: BoxedAnyIterableVec<S1I, S1T>,
source2: BoxedAnyIterableVec<S2I, S2T>,
compute: ComputeFrom2<I, T, S1I, S1T, S2I, S2T>,
phantom: PhantomData<I>,
}
impl<I, T, S1I, S1T, S2I, S2T> LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
@@ -61,7 +60,6 @@ where
source1,
source2,
compute,
phantom: PhantomData,
}
}

View File

@@ -1,4 +1,4 @@
use std::{borrow::Cow, marker::PhantomData};
use std::borrow::Cow;
use brk_core::{Result, Version};
@@ -27,7 +27,6 @@ where
source2: BoxedAnyIterableVec<S2I, S2T>,
source3: BoxedAnyIterableVec<S3I, S3T>,
compute: ComputeFrom3<I, T, S1I, S1T, S2I, S2T, S3I, S3T>,
phantom: PhantomData<I>,
}
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> LazyVecFrom3<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
@@ -69,7 +68,6 @@ where
source2,
source3,
compute,
phantom: PhantomData,
}
}