mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
Grammar error and vim syntax highlighting mistake fixed.
This commit is contained in:
parent
519b86b8a8
commit
66abb92a47
@ -661,7 +661,7 @@ msgstr ""
|
||||
|
||||
#. type: Plain text
|
||||
#: doc/rust.md:319
|
||||
msgid "An _integer literal_ has one of three forms:"
|
||||
msgid "An _integer literal_ has one of four forms:"
|
||||
msgstr ""
|
||||
|
||||
#. type: Bullet: ' * '
|
||||
|
@ -160,7 +160,7 @@ syn match rustNumber display "\<[0-9][0-9_]*\(i\|i8\|i16\|i32\|i64\)\>"
|
||||
|
||||
syn match rustHexNumber display "\<0x[a-fA-F0-9_]\+\>"
|
||||
syn match rustHexNumber display "\<0x[a-fA-F0-9_]\+\(u\|u8\|u16\|u32\|u64\)\>"
|
||||
syn match rustHexNumber display "\<0x[0-9_]\+\(i8\|i16\|i32\|i64\)\>"
|
||||
syn match rustHexNumber display "\<0x[a-fA-F0-9_]\+\(i8\|i16\|i32\|i64\)\>"
|
||||
syn match rustOctNumber display "\<0o[0-7_]\+\>"
|
||||
syn match rustOctNumber display "\<0o[0-7_]\+\(u\|u8\|u16\|u32\|u64\)\>"
|
||||
syn match rustOctNumber display "\<0o[0-7_]\+\(i8\|i16\|i32\|i64\)\>"
|
||||
|
Loading…
Reference in New Issue
Block a user