Skip to content

Commit f21b295

Browse files
committed
Fix a typo in fmt.rs
1 parent 9e103ac commit f21b295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/fmt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ format!("{a:s} {c:d} {b:?}", a="a", b=(), c=3i); // => "a 3 ()"
101101
```
102102
103103
It is illegal to put positional parameters (those without names) after arguments
104-
which have names. Like positional parameters, it is illegal to provided named
105-
parameters that are unused by the format string.
104+
which have names. Like with positional parameters, it is illegal to provide
105+
named parameters that are unused by the format string.
106106
107107
### Argument types
108108

0 commit comments

Comments
 (0)