From b87d5a02d02158be155d9ef4f67028d3318964a2 Mon Sep 17 00:00:00 2001 From: w1kee <31793948+w1kee@users.noreply.github.com> Date: Fri, 7 Jul 2023 15:47:06 +0200 Subject: [PATCH] b'...' byte strings -> byte chars --- src/rust-2021/reserving-syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rust-2021/reserving-syntax.md b/src/rust-2021/reserving-syntax.md index db711a7d..a4a7114a 100644 --- a/src/rust-2021/reserving-syntax.md +++ b/src/rust-2021/reserving-syntax.md @@ -17,7 +17,7 @@ we've decided to reserve syntax for prefixed identifiers and literals: `prefix#identifier`, `prefix"string"`, `prefix'c'`, and `prefix#123`, where `prefix` can be any identifier. (Except those prefixes that already have a meaning, such as `b'...'` (byte -strings) and `r"..."` (raw strings).) +chars) and `r"..."` (raw strings).) This provides syntax we can expand into in the future without requiring an edition boundary. We may use this for temporary syntax until the next edition, @@ -82,4 +82,4 @@ This `z` prefix is no longer allowed in Rust 2021, so in order to call this macr ```rust,ignore my_macro!(z "hey"); -``` \ No newline at end of file +```