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