Update process.rs

This commit is contained in:
raph 2017-04-06 10:17:32 +02:00 committed by GitHub
parent 4e1147f340
commit 16c77d7da1

View File

@ -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() };