mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-02 00:07:42 +03:00
Add test to prevent src link regression
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#![crate_name = "foo"]
|
||||
|
||||
// This test ensures that the [src] link is present on traits items.
|
||||
|
||||
// @has foo/trait.Iterator.html '//h3[@id="method.zip"]/a[@class="srclink"]' "[src]"
|
||||
pub use std::iter::Iterator;
|
||||
Reference in New Issue
Block a user