forbid(unsafe_op_in_unsafe_fn) in sys/os_str
This commit is contained in:
parent
10b845cbc8
commit
a33abbba98
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(any(
|
||||
target_os = "windows",
|
||||
|
|
|
@ -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;
|
||||
use crate::collections::TryReserveError;
|
||||
use crate::fmt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue