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 authored Apr 3, 2018
2 parents 933c9f5 + 9ab5788 commit 480f3bf
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 480f3bf

Please sign in to comment.