diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-07-06 17:18:11 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-07-06 17:18:11 -0700 |
| commit | 4bb13c69d63c47dfb4f9d1b2ec6ab56f1b7bb698 (patch) | |
| tree | 1cffceb41a53786afcadd794b2213433f2660cb3 /doc/lib | |
| parent | 57698fec6ca1561577a5a7b5ef13fe74d82c78a5 (diff) | |
| download | rust-4bb13c69d63c47dfb4f9d1b2ec6ab56f1b7bb698.tar.gz rust-4bb13c69d63c47dfb4f9d1b2ec6ab56f1b7bb698.zip | |
Add 'class' and 'new' to codemirror-rust.js
Diffstat (limited to 'doc/lib')
| -rw-r--r-- | doc/lib/codemirror-rust.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lib/codemirror-rust.js b/doc/lib/codemirror-rust.js index 900180c5eb5..6c05ee252b1 100644 --- a/doc/lib/codemirror-rust.js +++ b/doc/lib/codemirror-rust.js @@ -5,11 +5,11 @@ CodeMirror.defineMode("rust", function() { "do": "else-style", "ret": "else-style", "fail": "else-style", "break": "atom", "cont": "atom", "const": "let", "resource": "fn", "let": "let", "fn": "fn", "for": "for", "alt": "alt", "iface": "iface", - "impl": "impl", "type": "type", "enum": "enum", "mod": "mod", + "impl": "impl", "type": "type", "enum": "enum", "class": "atom", "mod": "mod", "as": "op", "true": "atom", "false": "atom", "assert": "op", "check": "op", "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" + "use": "op", "bind": "op", "self": "atom", "new": "atom" }; var typeKeywords = function() { var keywords = {"fn": "fn"}; |
