We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0a396b + b439632 commit 7046949Copy full SHA for 7046949
src/libstd/env.rs
@@ -723,6 +723,12 @@ pub fn args_os() -> ArgsOs {
723
ArgsOs { inner: sys::args::args() }
724
}
725
726
+#[stable(feature = "env_unimpl_send_sync", since = "1.25.0")]
727
+impl !Send for Args {}
728
+
729
730
+impl !Sync for Args {}
731
732
#[stable(feature = "env", since = "1.0.0")]
733
impl Iterator for Args {
734
type Item = String;
@@ -754,6 +760,12 @@ impl fmt::Debug for Args {
754
760
755
761
756
762
763
764
+impl !Send for ArgsOs {}
765
766
767
+impl !Sync for ArgsOs {}
768
757
769
758
770
impl Iterator for ArgsOs {
759
771
type Item = OsString;
0 commit comments