We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30f2fdb commit 04e7b61Copy full SHA for 04e7b61
library/alloc/src/ffi/c_str.rs
@@ -723,7 +723,7 @@ impl fmt::Debug for CString {
723
}
724
725
#[stable(feature = "cstring_into", since = "1.7.0")]
726
-impl From<CString> for Vec<u8> {
+impl From<CString> for Vec<u8, Global, DEFAULT_COOP_PREFERRED> {
727
/// Converts a [`CString`] into a <code>[Vec]<[u8]></code>.
728
///
729
/// The conversion consumes the [`CString`], and removes the terminating NUL byte.
0 commit comments