about summary refs log tree commit diff
path: root/tests/rustdoc/double-hyphen-to-dash.rs
blob: 009de4faf41b6c991473765ac2f2b37bfc15717e (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;