rust/tests/rustdoc/intra-doc/true-false.rs
2024-06-24 11:08:41 +02:00

9 lines
319 B
Rust

#![deny(rustdoc::broken_intra_doc_links)]
#![crate_name = "foo"]
//@ has foo/index.html
//@ has - '//*[@id="main-content"]//a[@href="{{channel}}/std/primitive.bool.html"]' 'true'
//@ has - '//*[@id="main-content"]//a[@href="{{channel}}/std/primitive.bool.html"]' 'false'
//! A `bool` is either [`true`] or [`false`].