File: non-path-primitives.rs

package info (click to toggle)
rustc 1.89.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 906,624 kB
  • sloc: xml: 158,148; python: 34,888; javascript: 19,595; sh: 19,221; ansic: 13,046; cpp: 7,144; asm: 4,376; makefile: 692; lisp: 174; sql: 15
file content (46 lines) | stat: -rw-r--r-- 1,744 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#![crate_name = "foo"]
#![feature(intra_doc_pointers)]
#![deny(rustdoc::broken_intra_doc_links)]

//@ has foo/index.html '//a[@href="{{channel}}/std/primitive.slice.html#method.rotate_left"]' 'slice::rotate_left'
//! [slice::rotate_left]

//@ has - '//a[@href="{{channel}}/std/primitive.array.html#method.map"]' 'array::map'
//! [array::map]

//@ 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'
//! [owned str][str]
//! [str ref][&str]
//! [str::is_empty]
//! [&str::len]

//@ 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'
//! [pointer::is_null]
//! [*const::is_null]
//! [*mut::is_null]

//@ has - '//a[@href="{{channel}}/std/primitive.unit.html"]' 'unit'
//! [unit]

//@ has - '//a[@href="{{channel}}/std/primitive.tuple.html"]' 'tuple'
//! [tuple]

//@ 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'
//! [reference]
//! [&]
//! [&mut]

//@ has - '//a[@href="{{channel}}/std/primitive.fn.html"]' 'fn'
//! [fn]

//@ has - '//a[@href="{{channel}}/std/primitive.never.html"]' 'never'
//@ has - '//a[@href="{{channel}}/std/primitive.never.html"]' '!'
//! [never]
//! [!]