Skip to content

Commit 723bffb

Browse files
author
baltdev
committed
Add issue number
1 parent ed946fc commit 723bffb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/alloc/src/vec/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,7 @@ impl<T, A: Allocator> Vec<T, A> {
24842484
/// offset by the *capacity* *O*(1) insertions it allows.
24852485
#[cfg(not(no_global_oom_handling))]
24862486
#[inline]
2487-
#[unstable(feature = "push_mut", issue = "none")]
2487+
#[unstable(feature = "push_mut", issue = "135974")]
24882488
#[track_caller]
24892489
#[must_use = "if you don't need a reference to the value, use Vec::push instead"]
24902490
pub fn push_mut(&mut self, value: T) -> &mut T {
@@ -2518,9 +2518,9 @@ impl<T, A: Allocator> Vec<T, A> {
25182518
///
25192519
/// Takes *O*(1) time.
25202520
#[inline]
2521-
#[unstable(feature = "push_mut", issue = "none")]
2522-
#[must_use = "if you don't need a reference to the value, use Vec::push_within_capacity instead"]
2521+
#[unstable(feature = "push_mut", issue = "135974")]
25232522
// #[unstable(feature = "vec_push_within_capacity", issue = "100486")]
2523+
#[must_use = "if you don't need a reference to the value, use Vec::push_within_capacity instead"]
25242524
pub fn push_mut_within_capacity(&mut self, value: T) -> Result<&mut T, T> {
25252525
if self.len == self.buf.capacity() {
25262526
return Err(value);

0 commit comments

Comments
 (0)