]> git.lizzy.rs Git - rust.git/commitdiff
Update process.rs
authorraph <rap2hpoutre@users.noreply.github.com>
Thu, 6 Apr 2017 08:17:32 +0000 (10:17 +0200)
committerGitHub <noreply@github.com>
Thu, 6 Apr 2017 08:17:32 +0000 (10:17 +0200)
src/libstd/process.rs

index 95e625888ccee79ece0593a1ab61ce84183dffa7..8cfd8fcd8c680b166fa38c14a3facd402afbc484 100644 (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() };