File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
trunk/src/libcore/unstable Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 646f16d7e4f451b0a6ee95fd61c1ae12a567bbe0
2
+ refs/heads/master: cd235d423008ce9a35d0d5f3a7e35a91b8c3033b
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
5
5
refs/heads/try: c50a9d5b664478e533ba1d1d353213d70c8ad589
Original file line number Diff line number Diff line change @@ -50,7 +50,9 @@ pub extern "rust-intrinsic" {
50
50
#[ cfg( not( stage0) ) ]
51
51
pub unsafe fn uninit < T > ( ) -> T ;
52
52
53
- pub fn forget < T > ( _: T ) -> ( ) ;
53
+ /// forget is unsafe because the caller is responsible for
54
+ /// ensuring the argument is deallocated already
55
+ pub unsafe fn forget < T > ( _: T ) -> ( ) ;
54
56
55
57
pub fn needs_drop < T > ( ) -> bool ;
56
58
You can’t perform that action at this time.
0 commit comments