]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/ensure-src-link.rs
Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt
[rust.git] / tests / rustdoc / ensure-src-link.rs
1 #![crate_name = "foo"]
2
3 // This test ensures that the [src] link is present on traits items.
4
5 // @has foo/trait.Iterator.html '//*[@id="method.zip"]//a[@class="srclink rightside"]' "source"
6 pub use std::iter::Iterator;