4
4
// @has doc_cfg/struct.Portable.html
5
5
// @!has - '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' ''
6
6
// @has - '//*[@id="method.unix_and_arm_only_function"]' 'fn unix_and_arm_only_function()'
7
- // @has - '//*[@class="stab portability"]' 'This is supported on Unix and ARM only.'
7
+ // @has - '//*[@class="stab portability"]' 'Available on Unix and ARM only.'
8
8
// @has - '//*[@id="method.wasi_and_wasm32_only_function"]' 'fn wasi_and_wasm32_only_function()'
9
- // @has - '//*[@class="stab portability"]' 'This is supported on WASI and WebAssembly only.'
9
+ // @has - '//*[@class="stab portability"]' 'Available on WASI and WebAssembly only.'
10
10
pub struct Portable ;
11
11
12
12
// @has doc_cfg/unix_only/index.html \
13
13
// '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
14
- // 'This is supported on Unix only.'
14
+ // 'Available on Unix only.'
15
15
// @matches - '//*[@class="item-left module-item"]//*[@class="stab portability"]' '\AARM\Z'
16
16
// @count - '//*[@class="stab portability"]' 2
17
17
#[ doc( cfg( unix) ) ]
18
18
pub mod unix_only {
19
19
// @has doc_cfg/unix_only/fn.unix_only_function.html \
20
20
// '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
21
- // 'This is supported on Unix only.'
21
+ // 'Available on Unix only.'
22
22
// @count - '//*[@class="stab portability"]' 1
23
23
pub fn unix_only_function ( ) {
24
24
content:: should:: be:: irrelevant ( ) ;
25
25
}
26
26
27
27
// @has doc_cfg/unix_only/trait.ArmOnly.html \
28
28
// '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
29
- // 'This is supported on Unix and ARM only.'
29
+ // 'Available on Unix and ARM only.'
30
30
// @count - '//*[@class="stab portability"]' 1
31
31
#[ doc( cfg( target_arch = "arm" ) ) ]
32
32
pub trait ArmOnly {
@@ -41,22 +41,22 @@ pub mod unix_only {
41
41
42
42
// @has doc_cfg/wasi_only/index.html \
43
43
// '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
44
- // 'This is supported on WASI only.'
44
+ // 'Available on WASI only.'
45
45
// @matches - '//*[@class="item-left module-item"]//*[@class="stab portability"]' '\AWebAssembly\Z'
46
46
// @count - '//*[@class="stab portability"]' 2
47
47
#[ doc( cfg( target_os = "wasi" ) ) ]
48
48
pub mod wasi_only {
49
49
// @has doc_cfg/wasi_only/fn.wasi_only_function.html \
50
50
// '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
51
- // 'This is supported on WASI only.'
51
+ // 'Available on WASI only.'
52
52
// @count - '//*[@class="stab portability"]' 1
53
53
pub fn wasi_only_function ( ) {
54
54
content:: should:: be:: irrelevant ( ) ;
55
55
}
56
56
57
57
// @has doc_cfg/wasi_only/trait.Wasm32Only.html \
58
58
// '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
59
- // 'This is supported on WASI and WebAssembly only.'
59
+ // 'Available on WASI and WebAssembly only.'
60
60
// @count - '//*[@class="stab portability"]' 1
61
61
#[ doc( cfg( target_arch = "wasm32" ) ) ]
62
62
pub trait Wasm32Only {
@@ -78,15 +78,15 @@ pub mod wasi_only {
78
78
79
79
// @has doc_cfg/fn.uses_target_feature.html
80
80
// @has - '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
81
- // 'This is supported with target feature avx only.'
81
+ // 'Available with target feature avx only.'
82
82
#[ target_feature( enable = "avx" ) ]
83
83
pub unsafe fn uses_target_feature ( ) {
84
84
content:: should:: be:: irrelevant ( ) ;
85
85
}
86
86
87
87
// @has doc_cfg/fn.uses_cfg_target_feature.html
88
88
// @has - '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
89
- // 'This is supported with target feature avx only.'
89
+ // 'Available with target feature avx only.'
90
90
#[ doc( cfg( target_feature = "avx" ) ) ]
91
91
pub fn uses_cfg_target_feature ( ) {
92
92
uses_target_feature ( ) ;
@@ -95,7 +95,7 @@ pub fn uses_cfg_target_feature() {
95
95
// multiple attributes should be allowed
96
96
// @has doc_cfg/fn.multiple_attrs.html \
97
97
// '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
98
- // 'This is supported on x and y and z only.'
98
+ // 'Available on x and y and z only.'
99
99
#[ doc( cfg( x) ) ]
100
100
#[ doc( cfg( y) , cfg( z) ) ]
101
101
pub fn multiple_attrs ( ) { }
0 commit comments