rust/src/test/rustdoc/intra-doc/true-false.rs

10 lines
295 B
Rust
Raw Normal View History

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