about summary refs log tree commit diff
path: root/doc/lib/codemirror-rust.js
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lib/codemirror-rust.js')
-rw-r--r--doc/lib/codemirror-rust.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lib/codemirror-rust.js b/doc/lib/codemirror-rust.js
index 626351e236c..6a1ec766453 100644
--- a/doc/lib/codemirror-rust.js
+++ b/doc/lib/codemirror-rust.js
@@ -7,12 +7,12 @@ CodeMirror.defineMode("rust", function() {
     "let": "let", "fn": "fn", "for": "for", "alt": "alt", "iface": "iface",
     "impl": "impl", "type": "type", "enum": "enum", "mod": "mod",
     "as": "op", "true": "atom", "false": "atom", "assert": "op", "check": "op",
-    "claim": "op", "native": "ignore", "unsafe": "ignore", "import": "else-style",
+    "claim": "op", "extern": "ignore", "unsafe": "ignore", "import": "else-style",
     "export": "else-style", "copy": "op", "log": "op", "log_err": "op",
     "use": "op", "bind": "op", "self": "atom"
   };
   var typeKeywords = function() {
-    var keywords = {"fn": "fn", "block": "fn", "obj": "obj"};
+    var keywords = {"fn": "fn"};
     var atoms = "bool uint int i8 i16 i32 i64 u8 u16 u32 u64 float f32 f64 str char".split(" ");
     for (var i = 0, e = atoms.length; i < e; ++i) keywords[atoms[i]] = "atom";
     return keywords;