2020-12-19 00:52:43 -06:00
|
|
|
#![crate_name = "foo"]
|
2021-01-14 10:55:52 -06:00
|
|
|
#![feature(intra_doc_pointers)]
|
2020-12-29 22:16:16 -06:00
|
|
|
#![deny(rustdoc::broken_intra_doc_links)]
|
2020-12-19 00:52:43 -06:00
|
|
|
|
2021-05-04 22:36:33 -05:00
|
|
|
// @has foo/index.html '//a[@href="{{channel}}/std/primitive.slice.html#method.rotate_left"]' 'slice::rotate_left'
|
2020-12-19 00:52:43 -06:00
|
|
|
//! [slice::rotate_left]
|
|
|
|
|
2021-05-04 22:36:33 -05:00
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.array.html#method.map"]' 'array::map'
|
2020-12-19 00:52:43 -06:00
|
|
|
//! [array::map]
|
|
|
|
|
2021-05-04 22:36:33 -05:00
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.str.html"]' 'owned str'
|
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.str.html"]' 'str ref'
|
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.str.html#method.is_empty"]' 'str::is_empty'
|
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.str.html#method.len"]' '&str::len'
|
2021-01-10 14:45:58 -06:00
|
|
|
//! [owned str][str]
|
|
|
|
//! [str ref][&str]
|
|
|
|
//! [str::is_empty]
|
|
|
|
//! [&str::len]
|
|
|
|
|
2021-05-04 22:36:33 -05:00
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.pointer.html#method.is_null"]' 'pointer::is_null'
|
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.pointer.html#method.is_null"]' '*const::is_null'
|
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.pointer.html#method.is_null"]' '*mut::is_null'
|
2020-12-19 00:52:43 -06:00
|
|
|
//! [pointer::is_null]
|
|
|
|
//! [*const::is_null]
|
|
|
|
//! [*mut::is_null]
|
|
|
|
|
2021-05-04 22:36:33 -05:00
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.unit.html"]' 'unit'
|
2020-12-19 00:52:43 -06:00
|
|
|
//! [unit]
|
|
|
|
|
2021-05-04 22:36:33 -05:00
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.tuple.html"]' 'tuple'
|
2020-12-19 00:52:43 -06:00
|
|
|
//! [tuple]
|
|
|
|
|
2021-05-04 22:36:33 -05:00
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.reference.html"]' 'reference'
|
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.reference.html"]' '&'
|
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.reference.html"]' '&mut'
|
2020-12-19 00:52:43 -06:00
|
|
|
//! [reference]
|
|
|
|
//! [&]
|
|
|
|
//! [&mut]
|
|
|
|
|
2021-05-04 22:36:33 -05:00
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.fn.html"]' 'fn'
|
2020-12-19 00:52:43 -06:00
|
|
|
//! [fn]
|
|
|
|
|
2021-05-04 22:36:33 -05:00
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.never.html"]' 'never'
|
|
|
|
// @has - '//a[@href="{{channel}}/std/primitive.never.html"]' '!'
|
2020-12-19 00:52:43 -06:00
|
|
|
//! [never]
|
|
|
|
//! [!]
|