about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-02-02 11:00:55 +0100
committerRalf Jung <post@ralfj.de>2019-02-02 11:00:55 +0100
commitcbbf8a7ff932b599227b27d34e9b015374f5b37a (patch)
treee726a379972fe7ad233c22e6a9483392ba33b104 /src/libstd
parentb1709d25e12fbffca53c30d05c16854256185900 (diff)
downloadrust-cbbf8a7ff932b599227b27d34e9b015374f5b37a.tar.gz
rust-cbbf8a7ff932b599227b27d34e9b015374f5b37a.zip
deprecate things a bit slower
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sys/redox/ext/process.rs2
-rw-r--r--src/libstd/sys/unix/ext/process.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/redox/ext/process.rs b/src/libstd/sys/redox/ext/process.rs
index 78917ea9188..4e669bbb2d7 100644
--- a/src/libstd/sys/redox/ext/process.rs
+++ b/src/libstd/sys/redox/ext/process.rs
@@ -65,7 +65,7 @@ pub trait CommandExt {
     ///
     /// [`pre_exec`]: #tymethod.pre_exec
     #[stable(feature = "process_exec", since = "1.15.0")]
-    #[rustc_deprecated(since = "1.34.0", reason = "should be unsafe, use `pre_exec` instead")]
+    #[rustc_deprecated(since = "1.37.0", reason = "should be unsafe, use `pre_exec` instead")]
     fn before_exec<F>(&mut self, f: F) -> &mut process::Command
         where F: FnMut() -> io::Result<()> + Send + Sync + 'static
     {
diff --git a/src/libstd/sys/unix/ext/process.rs b/src/libstd/sys/unix/ext/process.rs
index 7cc5e994593..da0507c6542 100644
--- a/src/libstd/sys/unix/ext/process.rs
+++ b/src/libstd/sys/unix/ext/process.rs
@@ -65,7 +65,7 @@ pub trait CommandExt {
     ///
     /// [`pre_exec`]: #tymethod.pre_exec
     #[stable(feature = "process_exec", since = "1.15.0")]
-    #[rustc_deprecated(since = "1.34.0", reason = "should be unsafe, use `pre_exec` instead")]
+    #[rustc_deprecated(since = "1.37.0", reason = "should be unsafe, use `pre_exec` instead")]
     fn before_exec<F>(&mut self, f: F) -> &mut process::Command
         where F: FnMut() -> io::Result<()> + Send + Sync + 'static
     {