Rollup merge of #49612 - tmccombs:stabilize-getpid, r=kennytm

Fix "since" version for getpid feature.

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

See https://github.com/rust-lang/rust/pull/49523#issuecomment-377996315

This will need to be backported to beta (1.26.0)
This commit is contained in:
kennytm 2018-04-04 11:07:26 +02:00 committed by GitHub
commit 19c07d382a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()
}