mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-08 13:20:11 +00:00

docs(alloc::fmt): Make type optional, instead of matching empty string Think this is clearer. Noticed as I was implementing [`tree-sitter-rust-format-args`](https://github.com/nik-rev/tree-sitter-rust-format-args), and attempting to match the empty string results in an error.