mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Add test for new implementations section title
This commit is contained in:
parent
cf184823d1
commit
4ade6eb2a2
9
src/test/rustdoc/struct-implementations-title.rs
Normal file
9
src/test/rustdoc/struct-implementations-title.rs
Normal file
@ -0,0 +1,9 @@
|
||||
#![crate_name = "foo"]
|
||||
|
||||
pub struct Struc;
|
||||
|
||||
// @has foo/struct.Struc.html
|
||||
// @has - '//*[@id="main"]/h2[@id="implementations"]' "Implementations"
|
||||
impl Struc {
|
||||
pub const S: u64 = 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user