Skip to content

Commit bc6720f

Browse files
committed
Add SpecFromIter ref in the comments directly
1 parent 9abd80c commit bc6720f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

library/alloc/src/vec/spec_from_iter_nested.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
use core::iter::TrustedLen;
22
use core::ptr::{self};
33

4-
#[allow(unused_imports)]
5-
use super::SpecFromIter;
64
use super::{SpecExtend, Vec};
75

86
/// Another specialization trait for Vec::from_iter
97
/// necessary to manually prioritize overlapping specializations
10-
/// see [`SpecFromIter`] for details.
8+
/// see [`SpecFromIter`](super::SpecFromIter) for details.
119
pub(super) trait SpecFromIterNested<T, I> {
1210
fn from_iter(iter: I) -> Self;
1311
}

0 commit comments

Comments
 (0)