Skip to content

Commit c56bbc9

Browse files
committed
---
yaml --- r: 60170 b: refs/heads/master c: cd235d4 h: refs/heads/master v: v3
1 parent d46131c commit c56bbc9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 646f16d7e4f451b0a6ee95fd61c1ae12a567bbe0
2+
refs/heads/master: cd235d423008ce9a35d0d5f3a7e35a91b8c3033b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
55
refs/heads/try: c50a9d5b664478e533ba1d1d353213d70c8ad589

trunk/src/libcore/unstable/intrinsics.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ pub extern "rust-intrinsic" {
5050
#[cfg(not(stage0))]
5151
pub unsafe fn uninit<T>() -> T;
5252

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) -> ();
5456

5557
pub fn needs_drop<T>() -> bool;
5658

0 commit comments

Comments
 (0)