Skip to content

Commit 5de55d0

Browse files
committed
---
yaml --- r: 12012 b: refs/heads/master c: 089877f h: refs/heads/master v: v3
1 parent 8aacb86 commit 5de55d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 0a347e760f4757fc75e63f005857c63894fc9e1e
2+
refs/heads/master: 089877f0c5b5827dcdf3a6f905738674a46ee6cd
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/doc/lib/codemirror-rust.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CodeMirror.defineMode("rust", function() {
55
"do": "else-style", "ret": "else-style", "fail": "else-style",
66
"break": "atom", "cont": "atom", "const": "let", "resource": "fn",
77
"let": "let", "fn": "fn", "for": "for", "alt": "alt", "iface": "iface",
8-
"impl": "impl", "type": "type", "tag": "tag", "mod": "mod",
8+
"impl": "impl", "type": "type", "enum": "enum", "mod": "mod",
99
"as": "op", "true": "atom", "false": "atom", "assert": "op", "check": "op",
1010
"claim": "op", "native": "ignore", "unsafe": "ignore", "import": "else-style",
1111
"export": "else-style", "copy": "op", "log": "op", "log_err": "op",
@@ -177,7 +177,7 @@ CodeMirror.defineMode("rust", function() {
177177
if (type == "let") return stat_of(letdef1, "let");
178178
if (type == "fn") return stat_of(fndef);
179179
if (type == "type") return cont(pushlex("stat"), tydef, endstatement, poplex, block);
180-
if (type == "tag") return stat_of(tagdef);
180+
if (type == "enum") return stat_of(tagdef);
181181
if (type == "mod") return stat_of(mod);
182182
if (type == "iface") return stat_of(iface);
183183
if (type == "impl") return stat_of(impl);

0 commit comments

Comments
 (0)