summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/ensure-src-link.rs
blob: f99c4c4d988095dde66de1aeebffd9f3b8d3b476 (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="src rightside"]' "source"
pub use std::iter::Iterator;