summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/double-hyphen-to-dash.rs
blob: 66905f90cfc93366db34e4dc6f6586c0d0fa0b44 (plain)
1
2
3
4
5
6
7
8
9
// This test ensures that `--` (double-hyphen) is correctly converted into `–` (dash).

#![crate_name = "foo"]

// @has 'foo/index.html' '//*[@class="desc docblock-short"]' '–'
// @has 'foo/struct.Bar.html' '//*[@class="docblock"]' '–'

/// --
pub struct Bar;