summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/ensure-src-link.rs
blob: c65387080f11b3f34611cca9a4c171135e6a9590 (plain)
1
2
3
4
5
6
#![crate_name = "foo"]

// This test ensures that the [src] link is present on traits items.

// @has foo/trait.Iterator.html '//*[@id="method.zip"]//a[@class="srclink rightside"]' "source"
pub use std::iter::Iterator;