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 commit is contained in:
parent
5ee891cfea
commit
9ab5788e0e
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 {
|
pub fn id() -> u32 {
|
||||||
::sys::os::getpid()
|
::sys::os::getpid()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue