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 4, 2018
2 parents b3b7e77 + 9ab5788 commit 19c07d3
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 19c07d3

Please sign in to comment.