]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/no_std-primitive.rs
Rollup merge of #107819 - clubby789:x-py-root, r=jyn514
[rust.git] / tests / rustdoc / no_std-primitive.rs
1 #![no_std]
2
3 /// Link to [intra-doc link][u8]
4 // @has 'no_std_primitive/fn.foo.html' '//a[@href="{{channel}}/core/primitive.u8.html"]' 'intra-doc link'
5 // @has - '//a[@href="{{channel}}/core/primitive.u8.html"]' 'u8'
6 pub fn foo() -> u8 {}