requested/proposed changes
This commit is contained in:
parent
5ef202520f
commit
c6bb62810a
5 changed files with 7 additions and 8 deletions
|
@ -71,7 +71,7 @@ use crate::sys_common::{AsInner, FromInner, IntoInner};
|
|||
/// [`CStr`]: crate::ffi::CStr
|
||||
/// [conversions]: super#conversions
|
||||
#[derive(Clone)]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "os_string_type")]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "OsString")]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct OsString {
|
||||
inner: Buf,
|
||||
|
|
|
@ -1066,7 +1066,7 @@ impl FusedIterator for Ancestors<'_> {}
|
|||
///
|
||||
/// Which method works best depends on what kind of situation you're in.
|
||||
#[derive(Clone)]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "path_buf_type")]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "PathBuf")]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
// FIXME:
|
||||
// `PathBuf::as_mut_vec` current implementation relies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue