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 committed Apr 3, 2018
1 parent 5ee891c commit 9ab5788
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 9ab5788

Please sign in to comment.