mark SourceIter as unsafe, document invariants
This commit is contained in:
parent
bb2d533bb9
commit
2a327394e4
3 changed files with 52 additions and 18 deletions
|
@ -2826,7 +2826,7 @@ unsafe impl<#[may_dangle] T> Drop for IntoIter<T> {
|
|||
unsafe impl<T> InPlaceIterable for IntoIter<T> {}
|
||||
|
||||
#[unstable(issue = "0", feature = "inplace_iteration")]
|
||||
impl<T> SourceIter for IntoIter<T> {
|
||||
unsafe impl<T> SourceIter for IntoIter<T> {
|
||||
type Source = IntoIter<T>;
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue