diff options
| author | raph <rap2hpoutre@users.noreply.github.com> | 2017-04-06 10:17:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-06 10:17:32 +0200 |
| commit | 16c77d7da1d1707a90d94d9eb77e0752f974a0db (patch) | |
| tree | 4e2c2a22992c8a1803a4b891f64836a21015e5fe | |
| parent | 4e1147f3406bcd368c50c89242bbba6a6fec5127 (diff) | |
| download | rust-16c77d7da1d1707a90d94d9eb77e0752f974a0db.tar.gz rust-16c77d7da1d1707a90d94d9eb77e0752f974a0db.zip | |
Update process.rs
| -rw-r--r-- | src/libstd/process.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 95e625888cc..8cfd8fcd8c6 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -1071,8 +1071,8 @@ pub fn exit(code: i32) -> ! { /// } /// ``` /// -/// The abort function terminates the process, so the destructor will not get -/// run on the example below: +/// The [`abort`] function terminates the process, so the destructor will not +/// get run on the example below: /// /// ```no_run /// use std::process; @@ -1091,7 +1091,6 @@ pub fn exit(code: i32) -> ! { /// // the destructor implemented for HasDrop will never get run /// } /// ``` -/// #[stable(feature = "process_abort", since = "1.17.0")] pub fn abort() -> ! { unsafe { ::sys::abort_internal() }; |
