about summary refs log tree commit diff
path: root/tests/rustdoc/double-hyphen-to-dash.rs
blob: c14acd065cde01ef2e0232abada7b6a243151644 (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' '//dd' '–'
//@ has 'foo/struct.Bar.html' '//*[@class="docblock"]' '–'

/// --
pub struct Bar;