Skip to content

Commit 16c77d7

Browse files
authored
Update process.rs
1 parent 4e1147f commit 16c77d7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/libstd/process.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,8 +1071,8 @@ pub fn exit(code: i32) -> ! {
10711071
/// }
10721072
/// ```
10731073
///
1074-
/// The abort function terminates the process, so the destructor will not get
1075-
/// run on the example below:
1074+
/// The [`abort`] function terminates the process, so the destructor will not
1075+
/// get run on the example below:
10761076
///
10771077
/// ```no_run
10781078
/// use std::process;
@@ -1091,7 +1091,6 @@ pub fn exit(code: i32) -> ! {
10911091
/// // the destructor implemented for HasDrop will never get run
10921092
/// }
10931093
/// ```
1094-
///
10951094
#[stable(feature = "process_abort", since = "1.17.0")]
10961095
pub fn abort() -> ! {
10971096
unsafe { ::sys::abort_internal() };

0 commit comments

Comments
 (0)