File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
branches/try/src/libcollections Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: f85c4f62d8e3f703f9d7c801b982d5cd5afbd081
4
+ refs/heads/try: 68b628b165c91e6abe1bccf9d94eb7c7ef7cdda3
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -278,6 +278,8 @@ impl<T> Vec<T> {
278
278
#[ inline]
279
279
#[ unstable( feature = "vec_from_raw_buf" ,
280
280
reason = "may be better expressed via composition" ) ]
281
+ #[ deprecated( since = "1.2.0" ,
282
+ reason = "use slice::from_raw_parts + .to_vec() instead" ) ]
281
283
pub unsafe fn from_raw_buf ( ptr : * const T , elts : usize ) -> Vec < T > {
282
284
let mut dst = Vec :: with_capacity ( elts) ;
283
285
dst. set_len ( elts) ;
You can’t perform that action at this time.
0 commit comments