We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 629b5e7 commit 76c63c1Copy full SHA for 76c63c1
library/core/src/fmt/mod.rs
@@ -318,6 +318,12 @@ union Parts {
318
strings_and_placeholders: (*const &'static str, *const rt::Placeholder),
319
}
320
321
+// `Arguments` will never be Send nor Sync, because it may borrow arguments that are not Sync.
322
+#[stable(feature = "rust1", since = "1.0.0")]
323
+impl !Sync for Arguments<'_> {}
324
325
+impl !Send for Arguments<'_> {}
326
+
327
/// Used by the format_args!() macro to create a fmt::Arguments object.
328
#[doc(hidden)]
329
#[unstable(feature = "fmt_internals", issue = "none")]
0 commit comments