about summary refs log tree commit diff
path: root/src/liballoc/collections
diff options
context:
space:
mode:
authorHidehito Yabuuchi <hdht.ybuc@gmail.com>2018-12-02 16:07:57 +0900
committerHidehito Yabuuchi <hdht.ybuc@gmail.com>2018-12-02 16:08:08 +0900
commit1e18cc916f653d5bea212bddded8960f548a975d (patch)
tree77b9e20a7058b9b9d6b0bebc478c5e4fba079e5e /src/liballoc/collections
parentaf7554d3a2e9e6171ca44bd1d4828606a9868f74 (diff)
downloadrust-1e18cc916f653d5bea212bddded8960f548a975d.tar.gz
rust-1e18cc916f653d5bea212bddded8960f548a975d.zip
Update issue number of `shrink_to` methods to point the tracking issue
Diffstat (limited to 'src/liballoc/collections')
-rw-r--r--src/liballoc/collections/binary_heap.rs2
-rw-r--r--src/liballoc/collections/vec_deque.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/collections/binary_heap.rs b/src/liballoc/collections/binary_heap.rs
index fcadcb544c4..8c36962a299 100644
--- a/src/liballoc/collections/binary_heap.rs
+++ b/src/liballoc/collections/binary_heap.rs
@@ -529,7 +529,7 @@ impl<T: Ord> BinaryHeap<T> {
     /// assert!(heap.capacity() >= 10);
     /// ```
     #[inline]
-    #[unstable(feature = "shrink_to", reason = "new API", issue="0")]
+    #[unstable(feature = "shrink_to", reason = "new API", issue="56431")]
     pub fn shrink_to(&mut self, min_capacity: usize) {
         self.data.shrink_to(min_capacity)
     }
diff --git a/src/liballoc/collections/vec_deque.rs b/src/liballoc/collections/vec_deque.rs
index cbf104a8fcd..baa26ffd937 100644
--- a/src/liballoc/collections/vec_deque.rs
+++ b/src/liballoc/collections/vec_deque.rs
@@ -701,7 +701,7 @@ impl<T> VecDeque<T> {
     /// buf.shrink_to(0);
     /// assert!(buf.capacity() >= 4);
     /// ```
-    #[unstable(feature = "shrink_to", reason = "new API", issue="0")]
+    #[unstable(feature = "shrink_to", reason = "new API", issue="56431")]
     pub fn shrink_to(&mut self, min_capacity: usize) {
         assert!(self.capacity() >= min_capacity, "Tried to shrink to a larger capacity");