mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Add comment to std::os::unix::ffi::os_str
explaining that the module is reused on other platforms.
This commit is contained in:
parent
835561ac5b
commit
ad7b8975e0
@ -4,6 +4,9 @@ use crate::sealed::Sealed;
|
||||
use crate::sys::os_str::Buf;
|
||||
use crate::sys_common::{AsInner, FromInner, IntoInner};
|
||||
|
||||
// Note: this file is currently reused in other `std::os::{platform}::ffi` modules to reduce duplication.
|
||||
// Keep this in mind when applying changes to this file that only apply to `unix`.
|
||||
|
||||
/// Platform-specific extensions to [`OsString`].
|
||||
///
|
||||
/// This trait is sealed: it cannot be implemented outside the standard library.
|
||||
|
Loading…
Reference in New Issue
Block a user