Skip to content

Commit 2c92cad

Browse files
authored
process: stabilize Command::raw_arg (#5930)
1 parent 197757d commit 2c92cad

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tokio/src/process/mod.rs

+1-7
Original file line numberDiff line numberDiff line change
@@ -398,17 +398,11 @@ impl Command {
398398
self
399399
}
400400

401-
cfg_unstable_windows! {
401+
cfg_windows! {
402402
/// Append literal text to the command line without any quoting or escaping.
403403
///
404404
/// This is useful for passing arguments to `cmd.exe /c`, which doesn't follow
405405
/// `CommandLineToArgvW` escaping rules.
406-
///
407-
/// **Note**: This is an [unstable API][unstable] but will be stabilised once
408-
/// tokio's MSRV is sufficiently new. See [the documentation on
409-
/// unstable features][unstable] for details about using unstable features.
410-
///
411-
/// [unstable]: crate#unstable-features
412406
pub fn raw_arg<S: AsRef<OsStr>>(&mut self, text_to_append_as_is: S) -> &mut Command {
413407
self.std.raw_arg(text_to_append_as_is);
414408
self

0 commit comments

Comments
 (0)