We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fabf929 commit 653f9c7Copy full SHA for 653f9c7
tests/rustdoc/double-hyphen-to-dash.rs
@@ -0,0 +1,9 @@
1
+// This test ensures that `--` (double-hyphen) is correctly converted into `–` (dash).
2
+
3
+#![crate_name = "foo"]
4
5
+// @has 'foo/index.html' '//*[@class="desc docblock-short"]' '–'
6
+// @has 'foo/struct.Bar.html' '//*[@class="docblock"]' '–'
7
8
+/// --
9
+pub struct Bar;
0 commit comments