rust/tests/rustdoc/intra-doc/true-false.rs
2023-01-11 09:32:08 +00: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`].