Auto merge of #29902 - huonw:smart-quotes, r=alexcrichton
cc https://github.com/rust-lang/rust/pull/29837#issuecomment-157540449
This commit is contained in:
commit
28f6b88978
1 changed files with 17 additions and 0 deletions
|
@ -91,6 +91,22 @@ const UNICODE_ARRAY: &'static [(char, &'static str, char)] = &[
|
|||
('י', "Hebrew Letter Yod", '\''),
|
||||
('ߴ', "Nko High Tone Apostrophe", '\''),
|
||||
('ߵ', "Nko Low Tone Apostrophe", '\''),
|
||||
('"', "Fullwidth Quotation Mark", '"'),
|
||||
('“', "Left Double Quotation Mark", '"'),
|
||||
('”', "Right Double Quotation Mark", '"'),
|
||||
('‟', "Double High-Reversed-9 Quotation Mark", '"'),
|
||||
('″', "Double Prime", '"'),
|
||||
('‶', "Reversed Double Prime", '"'),
|
||||
('〃', "Ditto Mark", '"'),
|
||||
('״', "Hebrew Punctuation Gershayim", '"'),
|
||||
('˝', "Double Acute Accent", '"'),
|
||||
('ʺ', "Modifier Letter Double Prime", '"'),
|
||||
('˶', "Modifier Letter Middle Double Acute Accent", '"'),
|
||||
('˵', "Modifier Letter Middle Double Grave Accent", '"'),
|
||||
('ˮ', "Modifier Letter Double Apostrophe", '"'),
|
||||
('ײ', "Hebrew Ligature Yiddish Double Yod", '"'),
|
||||
('❞', "Heavy Double Comma Quotation Mark Ornament", '"'),
|
||||
('❝', "Heavy Double Turned Comma Quotation Mark Ornament", '"'),
|
||||
('[', "Fullwidth Left Square Bracket", '('),
|
||||
('❨', "Medium Left Parenthesis Ornament", '('),
|
||||
('❲', "Light Left Tortoise Shell Bracket Ornament", '('),
|
||||
|
@ -149,6 +165,7 @@ const ASCII_ARRAY: &'static [(char, &'static str)] = &[
|
|||
('?', "Question Mark"),
|
||||
('.', "Period"),
|
||||
('\'', "Single Quote"),
|
||||
('"', "Quotation Mark"),
|
||||
('(', "Left Parenthesis"),
|
||||
(')', "Right Parenthesis"),
|
||||
('{', "Left Curly Brace"),
|
||||
|
|
Loading…
Add table
Reference in a new issue