From 04e7b614528b3c696aa965ebd75f3e8f63239fa6 Mon Sep 17 00:00:00 2001 From: Peter Kehl Date: Sun, 22 Jan 2023 07:46:38 -0800 Subject: [PATCH] CoAlloc: Vec (NOT String): Working around ICE rust-lang/rust issue #106473 ICE. WIP --- library/alloc/src/ffi/c_str.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/ffi/c_str.rs b/library/alloc/src/ffi/c_str.rs index f99395c72aa03..fef8404055373 100644 --- a/library/alloc/src/ffi/c_str.rs +++ b/library/alloc/src/ffi/c_str.rs @@ -723,7 +723,7 @@ impl fmt::Debug for CString { } #[stable(feature = "cstring_into", since = "1.7.0")] -impl From for Vec { +impl From for Vec { /// Converts a [`CString`] into a [Vec]<[u8]>. /// /// The conversion consumes the [`CString`], and removes the terminating NUL byte.