diff --git a/mode/rust/rust.js b/mode/rust/rust.js index 2bffa9a6aab657015cd864678640093de851bafc..4970b2f7cba8e7061fd2bd43cb8e0b07aa672249 100644 --- a/mode/rust/rust.js +++ b/mode/rust/rust.js @@ -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; }();