We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9abd80c commit bc6720fCopy full SHA for bc6720f
library/alloc/src/vec/spec_from_iter_nested.rs
@@ -1,13 +1,11 @@
1
use core::iter::TrustedLen;
2
use core::ptr::{self};
3
4
-#[allow(unused_imports)]
5
-use super::SpecFromIter;
6
use super::{SpecExtend, Vec};
7
8
/// Another specialization trait for Vec::from_iter
9
/// necessary to manually prioritize overlapping specializations
10
-/// see [`SpecFromIter`] for details.
+/// see [`SpecFromIter`](super::SpecFromIter) for details.
11
pub(super) trait SpecFromIterNested<T, I> {
12
fn from_iter(iter: I) -> Self;
13
}
0 commit comments