rust/tests/rustdoc/ensure-src-link.rs
2023-01-11 09:32:08 +00:00

7 lines
219 B
Rust

#![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;