0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-28 09:36:05 +01:00
rust/tests/rustdoc/intra-doc/email-address.rs
2024-06-24 11:08:41 +02:00

11 lines
550 B
Rust

#![forbid(rustdoc::broken_intra_doc_links)]
//! Email me at <hello@example.com>.
//! Email me at <hello-world@example.com>.
//! Email me at <hello@localhost>.
//! Email me at <prim@i32>.
//@ 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'
//@ has email_address/index.html '//a[@href="mailto:prim@i32"]' 'prim@i32'