about summary refs log tree commit diff
path: root/src/test/rustdoc/intra-doc/email-address.rs
blob: c407eb80da225aed5eb1895a02d5fc33eb387b26 (plain)
1
2
3
4
5
6
//! Email me at <hello@example.com>.
//! Email me at <hello-world@example.com>.
//! Email me at <hello@localhost> (this warns but will still become a link).
// @has email_address/index.html '//a[@href="mailto:hello@example.com"]' 'hello@example.com'
// @has email_address/index.html '//a[@href="mailto:hello-world@example.com"]' 'hello-world@example.com'
// @has email_address/index.html '//a[@href="mailto:hello@localhost"]' 'hello@localhost'