]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/ensure-src-link.rs
Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree
[rust.git] / src / test / 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 '//div[@id="method.zip"]//a[@class="srclink"]' "[src]"
6 pub use std::iter::Iterator;