rust/tests/rustdoc/ensure-src-link.rs
2024-06-24 11:08:41 +02:00

7 lines
205 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="src"]' "source"
pub use std::iter::Iterator;