about summary refs log tree commit diff
path: root/src/libstd/process.rs
diff options
context:
space:
mode:
authorThayne McCombs <astrothayne@gmail.com>2018-04-02 19:34:06 -0600
committerThayne McCombs <astrothayne@gmail.com>2018-04-02 19:34:06 -0600
commit9ab5788e0e73d1d7edbc025627e34bb8d4fa9bdd (patch)
treef6569e8625ecbefa42f831c1b94391e71fd37477 /src/libstd/process.rs
parent5ee891cfeabc0872624104611cc0a359f46447cc (diff)
downloadrust-9ab5788e0e73d1d7edbc025627e34bb8d4fa9bdd.tar.gz
rust-9ab5788e0e73d1d7edbc025627e34bb8d4fa9bdd.zip
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
Diffstat (limited to 'src/libstd/process.rs')
-rw-r--r--src/libstd/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index b463a6d88fe..40bc84f4bc1 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -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()
 }