]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #96078 - udoprog:refcounted-str-to-u8, r=dtolnay
authorbors <bors@rust-lang.org>
Sun, 1 May 2022 06:41:59 +0000 (06:41 +0000)
committerbors <bors@rust-lang.org>
Sun, 1 May 2022 06:41:59 +0000 (06:41 +0000)
Implement str to [u8] conversion for refcounted containers

This seems motivated to complete the APIs for shared containers since we already have similar allocation-free conversions for strings like `From<Box<[u8]>> for Box<str>`.

Insta-stable since it's a new trait impl?

1  2 
library/alloc/src/rc.rs

Simple merge