diff options
| author | bors <bors@rust-lang.org> | 2013-09-03 20:56:19 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-09-03 20:56:19 -0700 |
| commit | 523701aad00570b1f1632df25673872ffd9be7e8 (patch) | |
| tree | e09fec43824133dfcf681959096a0d72d5e5d62d /src/libstd | |
| parent | 383073883f1f07af0088b58d20e55e28c4942a64 (diff) | |
| parent | 5977376b4615f5efe590ee7775c48d82211c68ab (diff) | |
| download | rust-523701aad00570b1f1632df25673872ffd9be7e8.tar.gz rust-523701aad00570b1f1632df25673872ffd9be7e8.zip | |
auto merge of #8942 : novalis/rust/fmt, r=alexcrichton
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/fmt/mod.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstd/fmt/mod.rs b/src/libstd/fmt/mod.rs index da5abe95787..8d50f5efa48 100644 --- a/src/libstd/fmt/mod.rs +++ b/src/libstd/fmt/mod.rs @@ -308,6 +308,13 @@ For integral types, this has no meaning currently. For floating-point types, this indicates how many digits after the decimal point should be printed. +## Escaping + +The literal characters `{`, `}`, or `#` may be included in a string by +preceding them with the `\` character. Since `\` is already an +escape character in Rust strings, a string literal using this escape +will look like `"\\{"`. + */ use prelude::*; |
