Skip to content

Commit

Permalink
Fix "since" version for getpid feature.
Browse files Browse the repository at this point in the history
It was stabilized right before the beta branch was cut for 1.26.0.

See rust-lang#49523 (comment)
  • Loading branch information
tmccombs authored and kennytm committed Apr 5, 2018
1 parent c0dec7d commit 4d63e4a
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 4d63e4a

Please sign in to comment.