rust/tests/rustdoc/intra-doc/true-false.rs

9 lines
319 B
Rust
Raw Normal View History

#![deny(rustdoc::broken_intra_doc_links)]
2020-08-17 18:51:09 -05:00
#![crate_name = "foo"]
// @has foo/index.html
2021-11-29 10:14:05 -06:00
// @has - '//*[@id="main-content"]//a[@href="{{channel}}/std/primitive.bool.html"]' 'true'
// @has - '//*[@id="main-content"]//a[@href="{{channel}}/std/primitive.bool.html"]' 'false'
2020-08-17 18:51:09 -05:00
//! A `bool` is either [`true`] or [`false`].