rust/tests/rustdoc/double-hyphen-to-dash.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
266 B
Rust
Raw Normal View History

// 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;