Skip to content

Commit b7898f4

Browse files
committed
---
yaml --- r: 219364 b: refs/heads/snap-stage3 c: 68b628b h: refs/heads/master v: v3
1 parent f588bf7 commit b7898f4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3-
refs/heads/snap-stage3: f85c4f62d8e3f703f9d7c801b982d5cd5afbd081
3+
refs/heads/snap-stage3: 68b628b165c91e6abe1bccf9d94eb7c7ef7cdda3
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/src/libcollections/vec.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ impl<T> Vec<T> {
278278
#[inline]
279279
#[unstable(feature = "vec_from_raw_buf",
280280
reason = "may be better expressed via composition")]
281+
#[deprecated(since = "1.2.0",
282+
reason = "use slice::from_raw_parts + .to_vec() instead")]
281283
pub unsafe fn from_raw_buf(ptr: *const T, elts: usize) -> Vec<T> {
282284
let mut dst = Vec::with_capacity(elts);
283285
dst.set_len(elts);

0 commit comments

Comments
 (0)