Skip to content

Commit

Permalink
Rollup merge of rust-lang#49612 - tmccombs:stabilize-getpid, r=kennytm
Browse files Browse the repository at this point in the history
Fix "since" version for getpid feature.

It was stabilized right before the beta branch was cut for 1.26.0.

See rust-lang#49523 (comment)

This will need to be backported to beta (1.26.0)
  • Loading branch information
kennytm committed Apr 3, 2018
2 parents 0878e0f + 9ab5788 commit 6af59e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ pub fn abort() -> ! {
/// ```
///
///
#[stable(feature = "getpid", since = "1.27.0")]
#[stable(feature = "getpid", since = "1.26.0")]
pub fn id() -> u32 {
::sys::os::getpid()
}
Expand Down

0 comments on commit 6af59e8

Please sign in to comment.