diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2019-02-24 16:46:11 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2019-04-10 17:25:57 +0200 |
| commit | 970d164089f0cc2dc90dafeb3eedb681d505dc81 (patch) | |
| tree | a340199be12c8e664db05b76df4952529289176b /example/mini_core.rs | |
| parent | 16f41266567b16924cd0dff66122db041cc613a5 (diff) | |
| download | rust-970d164089f0cc2dc90dafeb3eedb681d505dc81.tar.gz rust-970d164089f0cc2dc90dafeb3eedb681d505dc81.zip | |
Fix and optimize init intrinsic
Diffstat (limited to 'example/mini_core.rs')
| -rw-r--r-- | example/mini_core.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs index ffc2cd8fb65..dd42257b194 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -371,6 +371,7 @@ pub mod intrinsics { pub fn copy<T>(src: *const T, dst: *mut T, count: usize); pub fn transmute<T, U>(e: T) -> U; pub fn uninit<T>() -> T; + pub fn init<T>() -> T; pub fn ctlz_nonzero<T>(x: T) -> T; pub fn needs_drop<T>() -> bool; pub fn bitreverse<T>(x: T) -> T; |
