diff options
| author | Matt Carberry <carberry.matt@gmail.com> | 2013-11-02 21:34:29 -0700 |
|---|---|---|
| committer | Matt Carberry <carberry.matt@gmail.com> | 2013-11-02 21:34:29 -0700 |
| commit | 66abb92a470ae65385e9949cd617d7980c7a2cd9 (patch) | |
| tree | 6f7b35d3b0603e39f4bea93b1e94fd9276dde2d5 | |
| parent | 519b86b8a810e12fe4247c56ffb894579c6b22e7 (diff) | |
Grammar error and vim syntax highlighting mistake fixed.
| -rw-r--r-- | doc/po/rust.md.pot | 2 | ||||
| -rw-r--r-- | src/etc/vim/syntax/rust.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/po/rust.md.pot b/doc/po/rust.md.pot index 2b682975065..9acefdf8215 100644 --- a/doc/po/rust.md.pot +++ b/doc/po/rust.md.pot @@ -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: ' * ' diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index abac8a32d78..e5ff089e2e1 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -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\)\>" |
