diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-02 17:56:35 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-03 17:36:20 -0700 |
| commit | 9306e840f59ac22651c6177a89352bf5d607fcbd (patch) | |
| tree | 0136e7a07c4110e04de87e962dc75ffea51a71dc /src/libstd/str.rs | |
| parent | 9ac9245564356d4fbefc6d71276423079bf5307b (diff) | |
| download | rust-9306e840f59ac22651c6177a89352bf5d607fcbd.tar.gz rust-9306e840f59ac22651c6177a89352bf5d607fcbd.zip | |
rustdoc: Migrate from sundown to hoedown
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
Diffstat (limited to 'src/libstd/str.rs')
| -rw-r--r-- | src/libstd/str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/str.rs b/src/libstd/str.rs index b105dd0ca5a..adb0c299876 100644 --- a/src/libstd/str.rs +++ b/src/libstd/str.rs @@ -37,7 +37,7 @@ fn main() { let borrowed_string1 = "This string is borrowed with the 'static lifetime"; let borrowed_string2: &str = owned_string; // owned strings can be borrowed } - ``` +``` From the example above, you can see that Rust has 2 different kinds of string literals. The owned literals correspond to the owned string types, but the |
