Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a0f9d4b
Enable smart punctuation
camelid Sep 15, 2020
f1581ed
Test that code does not get smart-punctuated
camelid Feb 8, 2021
e4b83fc
Document smart punctuation
camelid Feb 8, 2021
0a34521
Fix `@has` checks "no closing quotation" error
camelid Feb 8, 2021
1b29b29
Update Markdown unit tests
camelid Feb 9, 2021
eeb5552
Remove query parameters when leaving search results
GuillaumeGomez Feb 17, 2021
343b673
Consider auto derefs before warning about write only fields
tmiasko Feb 19, 2021
a00eb7e
Add @is command to jsondocck
aDotInTheVoid Feb 20, 2021
cd5f603
Implement @set
aDotInTheVoid Feb 20, 2021
dd4b938
Implement using @set values
aDotInTheVoid Feb 20, 2021
a22d948
Apply suggestions from code review
aDotInTheVoid Feb 21, 2021
ba22a69
Extract string_to_value to its own function
aDotInTheVoid Feb 21, 2021
dd9ab16
disable atomic_max/min tests in Miri
RalfJung Feb 22, 2021
4c949a4
Simplify Error Handling.
aDotInTheVoid Feb 22, 2021
2145a87
Fix mir-cfg dumps
osa1 Feb 21, 2021
89e2f77
Rollup merge of #79423 - camelid:smart-punct, r=jyn514
GuillaumeGomez Feb 22, 2021
399431c
Rollup merge of #82234 - GuillaumeGomez:remove-query-param-on-esc, r=…
GuillaumeGomez Feb 22, 2021
b62f759
Rollup merge of #82297 - tmiasko:write-only, r=oli-obk
GuillaumeGomez Feb 22, 2021
6fedd91
Rollup merge of #82311 - aDotInTheVoid:jsondocck-improvements, r=jyn514
GuillaumeGomez Feb 22, 2021
98511dd
Rollup merge of #82362 - osa1:issue81918, r=oli-obk
GuillaumeGomez Feb 22, 2021
49fca26
Rollup merge of #82391 - RalfJung:miri-atomic-minmax, r=dtolnay
GuillaumeGomez Feb 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Markdown unit tests
  • Loading branch information
camelid committed Feb 9, 2021
commit 1b29b2920033a48ec950a4b4b74402029a155a50
10 changes: 5 additions & 5 deletions src/librustdoc/html/markdown/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ fn test_short_markdown_summary() {
t("Hard-break \nsummary", "Hard-break summary");
t("hello [Rust] :)\n\n[Rust]: https://www.rust-lang.org", "hello Rust :)");
t("hello [Rust](https://www.rust-lang.org \"Rust\") :)", "hello Rust :)");
t("code `let x = i32;` ...", "code <code>let x = i32;</code> ...");
t("type `Type<'static>` ...", "type <code>Type<'static></code> ...");
t("code `let x = i32;` ...", "code <code>let x = i32;</code> ");
t("type `Type<'static>` ...", "type <code>Type<'static></code> ");
t("# top header", "top header");
t("## header", "header");
t("first paragraph\n\nsecond paragraph", "first paragraph");
Expand All @@ -227,8 +227,8 @@ fn test_plain_text_summary() {
t("Hard-break \nsummary", "Hard-break summary");
t("hello [Rust] :)\n\n[Rust]: https://www.rust-lang.org", "hello Rust :)");
t("hello [Rust](https://www.rust-lang.org \"Rust\") :)", "hello Rust :)");
t("code `let x = i32;` ...", "code `let x = i32;` ...");
t("type `Type<'static>` ...", "type `Type<'static>` ...");
t("code `let x = i32;` ...", "code `let x = i32;` ");
t("type `Type<'static>` ...", "type `Type<'static>` ");
t("# top header", "top header");
t("## header", "header");
t("first paragraph\n\nsecond paragraph", "first paragraph");
Expand All @@ -250,6 +250,6 @@ fn test_markdown_html_escape() {
}

t("`Struct<'a, T>`", "<p><code>Struct&lt;'a, T&gt;</code></p>\n");
t("Struct<'a, T>", "<p>Struct&lt;'a, T&gt;</p>\n");
t("Struct<'a, T>", "<p>Struct&lt;a, T&gt;</p>\n");
t("Struct<br>", "<p>Struct&lt;br&gt;</p>\n");
}