mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Fix tiny formatting error.
This commit is contained in:
parent
0f82cbd19a
commit
eb8739f4f8
@ -393,7 +393,7 @@ useful of which is [`format!`][fmt], a `sprintf`-like text formatter that you
|
||||
will often see in examples, and its related family of macros: `print!`,
|
||||
`println!`, and `write!`.
|
||||
|
||||
`format!` draws syntax from python, but contains many of the same principles
|
||||
`format!` draws syntax from Python, but contains many of the same principles
|
||||
that [printf][pf] has. Unlike printf, `format!` will give you a compile-time
|
||||
error when the types of the directives don't match the types of the arguments.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user