1 // ignore-tidy-linelength
5 //! This is the "start" of the 'document'! How'd you know that "it's" the start?
7 //! # Header with "smart punct'"
9 //! [link with "smart punct'" -- yessiree!][]
11 //! [link with "smart punct'" -- yessiree!]: https://www.rust-lang.org
13 //! # Code should not be smart-punct'd
15 //! `this inline code -- it shouldn't have "smart punct"`
18 //! let x = "don't smart-punct me -- please!";
22 //! I say "don't smart-punct me -- please!"
25 // @has "foo/index.html" "//p" "This is the “start” of the ‘document’! How’d you know that “it’s” the start?"
26 // @has "foo/index.html" "//h1" "Header with “smart punct’”"
27 // @has "foo/index.html" '//a[@href="https://www.rust-lang.org"]' "link with “smart punct’” – yessiree!"
28 // @has "foo/index.html" '//code' "this inline code -- it shouldn't have \"smart punct\""
29 // @has "foo/index.html" '//pre' "let x = \"don't smart-punct me -- please!\";"
30 // @has "foo/index.html" '//pre' "I say \"don't smart-punct me -- please!\""