Skip to content

Commit

Permalink
[rust mode] Update primitive types
Browse files Browse the repository at this point in the history
  • Loading branch information
rrandom authored and marijnh committed Jul 17, 2015
1 parent e7b3d69 commit da42989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mode/rust/rust.js
Expand Up @@ -26,7 +26,7 @@ CodeMirror.defineMode("rust", function() {
};
var typeKeywords = function() {
var keywords = {"fn": "fn", "block": "fn", "obj": "obj"};
var atoms = "bool uint int i8 i16 i32 i64 u8 u16 u32 u64 float f32 f64 str char".split(" ");
var atoms = "bool i8 i16 i32 i64 u8 u16 u32 u64 f32 f64 str char isize usize".split(" ");
for (var i = 0, e = atoms.length; i < e; ++i) keywords[atoms[i]] = "atom";
return keywords;
}();
Expand Down

0 comments on commit da42989

Please sign in to comment.