Skip to content

Commit 3eb6ff9

Browse files
authored
Merge pull request #39516 from brson/stable-next
[stable] next
2 parents 10893a9 + 1d2a8e2 commit 3eb6ff9

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

RELEASES.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
Version 1.15.1 (2017-02-07)
2+
===========================
3+
4+
* [Fix IntoIter::as_mut_slice's signature][39466]
5+
6+
[39466]: https://github.com/rust-lang/rust/pull/39466
7+
8+
19
Version 1.15.0 (2017-02-02)
210
===========================
311

mk/main.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
######################################################################
1414

1515
# The version number
16-
CFG_RELEASE_NUM=1.15.0
16+
CFG_RELEASE_NUM=1.15.1
1717

1818
# An optional number to put after the label, e.g. '.2' -> '-beta.2'
1919
# NB Make sure it starts with a dot to conform to semver pre-release

src/libcollections/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,7 @@ impl<T> IntoIter<T> {
19291929
/// assert_eq!(into_iter.next().unwrap(), 'z');
19301930
/// ```
19311931
#[stable(feature = "vec_into_iter_as_slice", since = "1.15.0")]
1932-
pub fn as_mut_slice(&self) -> &mut [T] {
1932+
pub fn as_mut_slice(&mut self) -> &mut [T] {
19331933
unsafe {
19341934
slice::from_raw_parts_mut(self.ptr as *mut T, self.len())
19351935
}

0 commit comments

Comments
 (0)