diff options
| author | Andy Russell <arussell123@gmail.com> | 2022-04-14 19:03:56 -0400 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2022-04-14 21:12:13 -0400 |
| commit | 753d567989e9cd8f6b1a2b707c231d70838b7819 (patch) | |
| tree | f881048e76e14d59d7e5b4d6a26b007ca97a7ea6 /src/test/rustdoc-gui | |
| parent | e7575f9670f3c837def3d186ae09366c75c7632e (diff) | |
| download | rust-753d567989e9cd8f6b1a2b707c231d70838b7819.tar.gz rust-753d567989e9cd8f6b1a2b707c231d70838b7819.zip | |
clarify doc(cfg) wording
The current "This is supported" wording implies that it's possible to still use the item on other configurations, but in an unsupported way. Changing this to "Available" removes this ambiguity.
Diffstat (limited to 'src/test/rustdoc-gui')
| -rw-r--r-- | src/test/rustdoc-gui/item-info-overflow.goml | 4 | ||||
| -rw-r--r-- | src/test/rustdoc-gui/item-info-width.goml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/rustdoc-gui/item-info-overflow.goml b/src/test/rustdoc-gui/item-info-overflow.goml index 4ff719bfb7d..d6385e2acb8 100644 --- a/src/test/rustdoc-gui/item-info-overflow.goml +++ b/src/test/rustdoc-gui/item-info-overflow.goml @@ -8,7 +8,7 @@ assert-property: (".item-info", {"scrollWidth": "890"}) // Just to be sure we're comparing the correct "item-info": assert-text: ( ".item-info", - "This is supported on Android or Linux or Emscripten or DragonFly BSD", + "Available on Android or Linux or Emscripten or DragonFly BSD", STARTS_WITH, ) @@ -23,6 +23,6 @@ assert-property: ("#impl-SimpleTrait .item-info", {"scrollWidth": "866"}) // Just to be sure we're comparing the correct "item-info": assert-text: ( "#impl-SimpleTrait .item-info", - "This is supported on Android or Linux or Emscripten or DragonFly BSD", + "Available on Android or Linux or Emscripten or DragonFly BSD", STARTS_WITH, ) diff --git a/src/test/rustdoc-gui/item-info-width.goml b/src/test/rustdoc-gui/item-info-width.goml index 7a32d902910..8b6d355a8f1 100644 --- a/src/test/rustdoc-gui/item-info-width.goml +++ b/src/test/rustdoc-gui/item-info-width.goml @@ -4,5 +4,5 @@ goto: file://|DOC_PATH|/lib2/struct.Foo.html size: (1100, 800) // We check that ".item-info" is bigger than its content. assert-css: (".item-info", {"width": "790px"}) -assert-css: (".item-info .stab", {"width": "340px"}) +assert-css: (".item-info .stab", {"width": "289px"}) assert-position: (".item-info .stab", {"x": 295}) |
