Skip to content

Commit c95ee77

Browse files
committed
Auto merge of #113271 - matthiaskrgr:rollup-2ik4vaj, r=matthiaskrgr
Rollup of 3 pull requests Successful merges: - #113253 (Fixed documentation of from<CString> for Rc<CStr>: Arc -> Rc) - #113258 (Migrate GUI colors test to original CSS color format) - #113259 (Suggest `x build library` for a custom toolchain that fails to load `core`) r? `@ghost` `@rustbot` modify labels: rollup
2 parents cdad96d + 5af8651 commit c95ee77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alloc/src/ffi/c_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ impl From<&CStr> for Arc<CStr> {
888888
#[stable(feature = "shared_from_slice2", since = "1.24.0")]
889889
impl From<CString> for Rc<CStr> {
890890
/// Converts a [`CString`] into an <code>[Rc]<[CStr]></code> by moving the [`CString`]
891-
/// data into a new [`Arc`] buffer.
891+
/// data into a new [`Rc`] buffer.
892892
#[inline]
893893
fn from(s: CString) -> Rc<CStr> {
894894
let rc: Rc<[u8]> = Rc::from(s.into_inner());

0 commit comments

Comments
 (0)