diff options
| author | bors <bors@rust-lang.org> | 2014-05-07 03:21:47 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-07 03:21:47 -0700 |
| commit | 4a5d39001b1da84fe4be2996a2c7d894d5c248c6 (patch) | |
| tree | 8adeb549f225f21064989a0bd8dc22bb8ca67b8c /src/libstd/str.rs | |
| parent | 897b96a2e28778a5819907a74fc800508eadeffc (diff) | |
| parent | d7891c7c0e964fc9f947e0aefc7494218d531af2 (diff) | |
auto merge of #13914 : alexcrichton/rust/pile-o-rustdoc-fixes, r=brson
Lots of assorted things here and there, all the details are in the commits. Closes #11712
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 430f6326327..d7696dc53c0 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 |
