about summary refs log tree commit diff
path: root/tests/rustdoc/intra-doc/true-false.rs
blob: ce38ee11d5ca6ec2796d27263b05f9ea62d298e8 (plain)
1
2
3
4
5
6
7
8
#![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`].