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:
commit
19c07d382a
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue