Re: [PATCH v1 19/28] rust: str: add `c_str!` macro

From: Miguel Ojeda
Date: Mon Nov 14 2022 - 13:29:04 EST


On Mon, Nov 14, 2022 at 3:39 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> I wrote this code when `const_panic` was not yet stable. Now we have
> stable const panic this function could be removed.

Indeed, we also took advantage of it in `static_assert!` when it got
stabilized but not here. I will update it.

Cheers,
Miguel