We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a0b2fb commit b4d1392Copy full SHA for b4d1392
std/src/sys/os_str/mod.rs
@@ -1,3 +1,5 @@
1
+#![forbid(unsafe_op_in_unsafe_fn)]
2
+
3
cfg_if::cfg_if! {
4
if #[cfg(any(
5
target_os = "windows",
std/src/sys/os_str/wtf8.rs
@@ -1,7 +1,5 @@
//! The underlying OsString/OsStr implementation on Windows is a
//! wrapper around the "WTF-8" encoding; see the `wtf8` module for more.
-#![deny(unsafe_op_in_unsafe_fn)]
-
use crate::borrow::Cow;
6
use crate::collections::TryReserveError;
7
use crate::fmt;
0 commit comments