Grammar error and vim syntax highlighting mistake fixed.

This commit is contained in:
Matt Carberry 2013-11-02 21:34:29 -07:00
parent 519b86b8a8
commit 66abb92a47
2 changed files with 2 additions and 2 deletions

View File

@ -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: ' * '

View File

@ -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\)\>"