Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
rustdoc
/
double-hyphen-to-dash.rs
blob: c14acd065cde01ef2e0232abada7b6a243151644 [
file
] [
log
] [
blame
]
// 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
;