Skip to content

Commit a05f231

Browse files
authored
Rollup merge of rust-lang#124051 - dtolnay:emptyset, r=compiler-errors
Fix empty-set symbol in comments The symbol in the original code is U+00D8 "LATIN CAPITAL LETTER O WITH STROKE" (https://en.wikipedia.org/wiki/%C3%98) which is an uppercase letter in Danish, Norwegian, Faroese, and Southern Sámi alphabets. The symbol that was intended is U+2205 "EMPTY SET" (https://en.wikipedia.org/wiki/Empty_set#Notation). | Before | After | |---|---| | ![Screenshot from 2024-04-16 18-25-01](https://github.com/rust-lang/rust/assets/1940490/9b8b0624-cfa5-4b89-84e5-4c2b39c2cb8f) | ![Screenshot from 2024-04-16 18-25-05](https://github.com/rust-lang/rust/assets/1940490/6f6b34c3-0e47-4ba0-856d-be1dc164c94c) |
2 parents a86fde3 + b12e3b3 commit a05f231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proc_macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ pub enum Delimiter {
811811
/// `[ ... ]`
812812
#[stable(feature = "proc_macro_lib2", since = "1.29.0")]
813813
Bracket,
814-
/// `Ø ... Ø`
814+
/// ` ... `
815815
/// An invisible delimiter, that may, for example, appear around tokens coming from a
816816
/// "macro variable" `$var`. It is important to preserve operator priorities in cases like
817817
/// `$var * 3` where `$var` is `1 + 2`.

0 commit comments

Comments
 (0)