Fix typos in 3348

This commit is contained in:
Meng Xiangzhuo 2023-08-15 06:19:25 +08:00
parent 321d8e4936
commit 690f9d8fdd
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ Interactions with string related macros:
The trivial implementation of using `concat!($s, "\0")` is problematic for several reasons, including non-string input and embedded nul bytes.
(The unstable `concat_bytes!()` solves some of the problems.)
The popular [`cstr` crate](https://crates.io/crates/cstr) is a proc macro to work around the limiations of a `macro_rules` implementation, but that also has many downsides.
The popular [`cstr` crate](https://crates.io/crates/cstr) is a proc macro to work around the limitations of a `macro_rules` implementation, but that also has many downsides.
Even if we had the right language features for a trivial correct implementation, there are many code bases where C strings are the primary form of string,
making `cstr!("..")` syntax quite cumbersome.