You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This primary fix brought on by this upgrade is the proper matching of the ```
and ~~~ doc blocks. This also moves hoedown to a git submodule rather than a
bundled repository.
Additionally, hoedown is stricter about code blocks, so this ended up fixing a
lot of invalid code blocks (ending with " ```" instead of "```", or ending with
"~~~~" instead of "~~~").
Closes#12776
Copy file name to clipboardExpand all lines: src/doc/complement-cheatsheet.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ use std::str;
62
62
63
63
let x: Option<~str> = str::from_utf8_owned(~[104u8,105u8]);
64
64
let y: ~str = x.unwrap();
65
-
~~~~
65
+
~~~
66
66
67
67
To return a [`MaybeOwned`](http://static.rust-lang.org/doc/master/std/str/enum.MaybeOwned.html) use the str helper function [`from_utf8_lossy`](http://static.rust-lang.org/doc/master/std/str/fn.from_utf8_owned.html). This function also replaces non-valid utf-8 sequences with U+FFFD replacement character.
68
68
@@ -71,7 +71,7 @@ use std::str;
71
71
72
72
let x = bytes!(72u8,"ello ",0xF0,0x90,0x80,"World!");
0 commit comments