diff options
| author | Nilotpal Gupta <nilotpalgupta0701@gmail.com> | 2025-08-19 11:10:32 +0530 |
|---|---|---|
| committer | Nilotpal Gupta <nilotpalgupta0701@gmail.com> | 2025-08-27 20:45:41 +0530 |
| commit | fdbaaac245673d8dbf7bcc21ebedc833693434f6 (patch) | |
| tree | f6371ea809dd0ce3eac8f1169fb3ec184d7f5d7a /library/alloc/src | |
| parent | 269d5b56bcfdf2be82213e72ef9a2e4c592a8c6b (diff) | |
Fix format string grammar in docs and improve alignment error message
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/fmt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/fmt.rs b/library/alloc/src/fmt.rs index d0ba9c39886..82eaf7d8724 100644 --- a/library/alloc/src/fmt.rs +++ b/library/alloc/src/fmt.rs @@ -354,7 +354,7 @@ //! sign := '+' | '-' //! width := count //! precision := count | '*' -//! type := '?' | 'x?' | 'X?' | identifier +//! type := '?' | 'x?' | 'X?' | 'o' | 'x' | 'X' | 'p' | 'b' | 'e' | 'E' //! count := parameter | integer //! parameter := argument '$' //! ``` |
