Add SpecFromIter ref in the comments directly
This commit is contained in:
parent
9abd80c076
commit
bc6720f872
@ -1,13 +1,11 @@
|
||||
use core::iter::TrustedLen;
|
||||
use core::ptr::{self};
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::SpecFromIter;
|
||||
use super::{SpecExtend, Vec};
|
||||
|
||||
/// Another specialization trait for Vec::from_iter
|
||||
/// necessary to manually prioritize overlapping specializations
|
||||
/// see [`SpecFromIter`] for details.
|
||||
/// see [`SpecFromIter`](super::SpecFromIter) for details.
|
||||
pub(super) trait SpecFromIterNested<T, I> {
|
||||
fn from_iter(iter: I) -> Self;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user