-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change from syntaxy-looking [src] to the plain word "source".
- Loading branch information
Showing
20 changed files
with
96 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
<h1 class="fqn"> {#- -#} | ||
<span class="in-band"> {#- -#} | ||
{{-typ-}} | ||
{#- The breadcrumbs of the item path, like std::string -#} | ||
{%- for component in path_components -%} | ||
<a href="{{component.path | safe}}index.html">{{component.name}}</a>::<wbr> | ||
{%- endfor -%} | ||
<a class="{{item_type}}" href="#">{{name}}</a> {#- -#} | ||
<button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"> {#- -#} | ||
<img src="{{static_root_path | safe}}clipboard{{page.resource_suffix}}.svg" {# -#} | ||
width="19" height="18" {# -#} | ||
alt="Copy item path"> {#- -#} | ||
</button> {#- -#} | ||
</span> {#- -#} | ||
<span class="out-of-band"> {#- -#} | ||
{{- stability_since_raw | safe -}} | ||
<span id="render-detail"> {#- -#} | ||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> {#- -#} | ||
[<span class="inner">−</span>] {#- -#} | ||
</a> {#- -#} | ||
<div class="main-heading"> | ||
<h1 class="fqn"> {#- -#} | ||
<span class="in-band"> {#- -#} | ||
{{-typ-}} | ||
{#- The breadcrumbs of the item path, like std::string -#} | ||
{%- for component in path_components -%} | ||
<a href="{{component.path | safe}}index.html">{{component.name}}</a>::<wbr> | ||
{%- endfor -%} | ||
<a class="{{item_type}}" href="#">{{name}}</a> {#- -#} | ||
<button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"> {#- -#} | ||
<img src="{{static_root_path | safe}}clipboard{{page.resource_suffix}}.svg" {# -#} | ||
width="19" height="18" {# -#} | ||
alt="Copy item path"> {#- -#} | ||
</button> {#- -#} | ||
</span> {#- -#} | ||
{%- if src_href -%} | ||
<a class="srclink" href="{{src_href | safe}}" title="goto source code">[src]</a> | ||
{%- endif -%} | ||
</h1> {#- -#} | ||
<span class="out-of-band"> {#- -#} | ||
{% if stability_since_raw %} | ||
{{- stability_since_raw | safe -}} · | ||
{% endif %} | ||
{%- if src_href %} | ||
<a class="srclink" href="{{src_href | safe}}" title="goto source code">source</a> · | ||
{% endif -%} | ||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> {#- -#} | ||
[<span class="inner">−</span>] {#- -#} | ||
</a> {#- -#} | ||
</span> {#- -#} | ||
</h1> {#- -#} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
goto: file://|DOC_PATH|/test_docs/index.html | ||
assert-attribute: ("#main-content > details.top-doc", {"open": ""}) | ||
assert-text: ("#toggle-all-docs", "[−]") | ||
click: "#toggle-all-docs" | ||
wait-for: 1000 | ||
// This is now collapsed so there shouldn't be the "open" attribute on details. | ||
assert-attribute-false: ("#main-content > details.top-doc", {"open": ""}) | ||
assert-text: ("#toggle-all-docs", "[+]") | ||
click: "#toggle-all-docs" | ||
wait-for: 1000 | ||
// Not collapsed anymore so the "open" attribute should be back. | ||
assert-attribute: ("#main-content > details.top-doc", {"open": ""}) | ||
assert-text: ("#toggle-all-docs", "[−]") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
pub struct Foo; | ||
|
||
// @has issue_16265_1/traits/index.html '[src]' | ||
// @has issue_16265_1/traits/index.html 'source' | ||
pub mod traits { | ||
impl PartialEq for super::Foo { | ||
fn eq(&self, _: &super::Foo) -> bool { true } | ||
fn eq(&self, _: &super::Foo) -> bool { | ||
true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// @has issue_16265_2/index.html '[src]' | ||
// @has issue_16265_2/index.html 'source' | ||
|
||
trait Y {} | ||
impl Y for Option<u32>{} | ||
impl Y for Option<u32> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.