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

10 lines
237 B
Rust
Raw Normal View History

// This test ensures that `--` (double-hyphen) is correctly converted into `` (dash).
#![crate_name = "foo"]
2025-01-17 20:41:51 +00:00
//@ has 'foo/index.html' '//dd' ''
//@ has 'foo/struct.Bar.html' '//*[@class="docblock"]' ''
/// --
pub struct Bar;