rust/tests/rustdoc/check-styled-link.rs

9 lines
161 B
Rust
Raw Normal View History

2018-03-19 22:25:55 +00:00
#![crate_name = "foo"]
pub struct Foo;
//@ has foo/struct.Bar.html '//a[@href="struct.Foo.html"]' 'Foo'
2018-03-19 22:25:55 +00:00
/// Code-styled reference to [`Foo`].
pub struct Bar;