Skip to content

Commit cbbf8a7

Browse files
committed
deprecate things a bit slower
1 parent b1709d2 commit cbbf8a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/sys/redox/ext/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub trait CommandExt {
6565
///
6666
/// [`pre_exec`]: #tymethod.pre_exec
6767
#[stable(feature = "process_exec", since = "1.15.0")]
68-
#[rustc_deprecated(since = "1.34.0", reason = "should be unsafe, use `pre_exec` instead")]
68+
#[rustc_deprecated(since = "1.37.0", reason = "should be unsafe, use `pre_exec` instead")]
6969
fn before_exec<F>(&mut self, f: F) -> &mut process::Command
7070
where F: FnMut() -> io::Result<()> + Send + Sync + 'static
7171
{

src/libstd/sys/unix/ext/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub trait CommandExt {
6565
///
6666
/// [`pre_exec`]: #tymethod.pre_exec
6767
#[stable(feature = "process_exec", since = "1.15.0")]
68-
#[rustc_deprecated(since = "1.34.0", reason = "should be unsafe, use `pre_exec` instead")]
68+
#[rustc_deprecated(since = "1.37.0", reason = "should be unsafe, use `pre_exec` instead")]
6969
fn before_exec<F>(&mut self, f: F) -> &mut process::Command
7070
where F: FnMut() -> io::Result<()> + Send + Sync + 'static
7171
{

0 commit comments

Comments
 (0)