44// @has doc_cfg/struct.Portable.html
55// @!has - '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' ''
66// @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.'
88// @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.'
1010pub struct Portable ;
1111
1212// @has doc_cfg/unix_only/index.html \
1313// '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
14- // 'This is supported on Unix only.'
14+ // 'Available on Unix only.'
1515// @matches - '//*[@class="item-left module-item"]//*[@class="stab portability"]' '\AARM\Z'
1616// @count - '//*[@class="stab portability"]' 2
1717#[ doc( cfg( unix) ) ]
1818pub mod unix_only {
1919 // @has doc_cfg/unix_only/fn.unix_only_function.html \
2020 // '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
21- // 'This is supported on Unix only.'
21+ // 'Available on Unix only.'
2222 // @count - '//*[@class="stab portability"]' 1
2323 pub fn unix_only_function ( ) {
2424 content:: should:: be:: irrelevant ( ) ;
2525 }
2626
2727 // @has doc_cfg/unix_only/trait.ArmOnly.html \
2828 // '//*[@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.'
3030 // @count - '//*[@class="stab portability"]' 1
3131 #[ doc( cfg( target_arch = "arm" ) ) ]
3232 pub trait ArmOnly {
@@ -41,22 +41,22 @@ pub mod unix_only {
4141
4242// @has doc_cfg/wasi_only/index.html \
4343// '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
44- // 'This is supported on WASI only.'
44+ // 'Available on WASI only.'
4545// @matches - '//*[@class="item-left module-item"]//*[@class="stab portability"]' '\AWebAssembly\Z'
4646// @count - '//*[@class="stab portability"]' 2
4747#[ doc( cfg( target_os = "wasi" ) ) ]
4848pub mod wasi_only {
4949 // @has doc_cfg/wasi_only/fn.wasi_only_function.html \
5050 // '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
51- // 'This is supported on WASI only.'
51+ // 'Available on WASI only.'
5252 // @count - '//*[@class="stab portability"]' 1
5353 pub fn wasi_only_function ( ) {
5454 content:: should:: be:: irrelevant ( ) ;
5555 }
5656
5757 // @has doc_cfg/wasi_only/trait.Wasm32Only.html \
5858 // '//*[@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.'
6060 // @count - '//*[@class="stab portability"]' 1
6161 #[ doc( cfg( target_arch = "wasm32" ) ) ]
6262 pub trait Wasm32Only {
@@ -78,15 +78,15 @@ pub mod wasi_only {
7878
7979// @has doc_cfg/fn.uses_target_feature.html
8080// @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.'
8282#[ target_feature( enable = "avx" ) ]
8383pub unsafe fn uses_target_feature ( ) {
8484 content:: should:: be:: irrelevant ( ) ;
8585}
8686
8787// @has doc_cfg/fn.uses_cfg_target_feature.html
8888// @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.'
9090#[ doc( cfg( target_feature = "avx" ) ) ]
9191pub fn uses_cfg_target_feature ( ) {
9292 uses_target_feature ( ) ;
@@ -95,7 +95,7 @@ pub fn uses_cfg_target_feature() {
9595// multiple attributes should be allowed
9696// @has doc_cfg/fn.multiple_attrs.html \
9797// '//*[@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.'
9999#[ doc( cfg( x) ) ]
100100#[ doc( cfg( y) , cfg( z) ) ]
101101pub fn multiple_attrs ( ) { }
0 commit comments