diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-08-13 21:33:09 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-08-15 14:19:09 -0700 |
| commit | 443bf93e48b90415564046ae846e8781fe1f163e (patch) | |
| tree | 54ae98b338e5876ef4a7e2c7bebea64a31f45fd1 /src/libstd | |
| parent | 783c6a1fbf9c44bc58e3ba9224d5920db1de91f0 (diff) | |
| download | rust-443bf93e48b90415564046ae846e8781fe1f163e.tar.gz rust-443bf93e48b90415564046ae846e8781fe1f163e.zip | |
Fix a typo in the ifmt dox
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/fmt/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fmt/mod.rs b/src/libstd/fmt/mod.rs index 41e588934b7..70ec5d93199 100644 --- a/src/libstd/fmt/mod.rs +++ b/src/libstd/fmt/mod.rs @@ -93,7 +93,7 @@ string. Because formatting is done via traits, there is no requirement that the `d` format actually takes an `int`, but rather it simply requires a type which ascribes to the `Signed` formatting trait. There are various parameters which do -require a particular type, however. Namely if the sytnax `{:.*s}` is used, then +require a particular type, however. Namely if the syntax `{:.*s}` is used, then the number of characters to print from the string precedes the actual string and must have the type `uint`. Although a `uint` can be printed with `{:u}`, it is illegal to reference an argument as such. For example, this is another invalid |
