mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
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
@ -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…
Reference in New Issue
Block a user