about summary refs log tree commit diff
path: root/library/alloc/src/collections
diff options
context:
space:
mode:
authorThe8472 <git@infinite-source.de>2021-05-16 18:48:35 +0200
committerThe8472 <git@infinite-source.de>2021-05-16 19:36:21 +0200
commit39e492a2beda93355555138d3059d80b674c8b08 (patch)
tree2bd423ee9068eb87bc49c56d16a7f5210da6fd37 /library/alloc/src/collections
parent747a5d2a5d6693f5e9426524b0dab34eb1587377 (diff)
downloadrust-39e492a2beda93355555138d3059d80b674c8b08.tar.gz
rust-39e492a2beda93355555138d3059d80b674c8b08.zip
mark internal inplace_iteration traits as hidden
Diffstat (limited to 'library/alloc/src/collections')
-rw-r--r--library/alloc/src/collections/binary_heap.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/alloc/src/collections/binary_heap.rs b/library/alloc/src/collections/binary_heap.rs
index a201af01030..544e18d1ff3 100644
--- a/library/alloc/src/collections/binary_heap.rs
+++ b/library/alloc/src/collections/binary_heap.rs
@@ -1299,6 +1299,7 @@ impl<T> ExactSizeIterator for IntoIter<T> {
 impl<T> FusedIterator for IntoIter<T> {}
 
 #[unstable(issue = "none", feature = "inplace_iteration")]
+#[doc(hidden)]
 unsafe impl<T> SourceIter for IntoIter<T> {
     type Source = IntoIter<T>;
 
@@ -1309,6 +1310,7 @@ unsafe impl<T> SourceIter for IntoIter<T> {
 }
 
 #[unstable(issue = "none", feature = "inplace_iteration")]
+#[doc(hidden)]
 unsafe impl<I> InPlaceIterable for IntoIter<I> {}
 
 impl<I> AsIntoIter for IntoIter<I> {