Skip to content

Commit 2dae768

Browse files
committed
docs: Change 'class' to 'struct' in codemirror-rust
1 parent 1b1aea8 commit 2dae768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/lib/codemirror-rust.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CodeMirror.defineMode("rust", function() {
55
"do": "else-style", "return": "else-style", "fail": "else-style",
66
"break": "atom", "cont": "atom", "const": "let", "resource": "fn",
77
"let": "let", "fn": "fn", "for": "for", "match": "match", "trait": "trait",
8-
"impl": "impl", "type": "type", "enum": "enum", "class": "atom", "mod": "mod",
8+
"impl": "impl", "type": "type", "enum": "enum", "struct": "atom", "mod": "mod",
99
"as": "op", "true": "atom", "false": "atom", "assert": "op", "check": "op",
1010
"claim": "op", "extern": "ignore", "unsafe": "ignore", "import": "else-style",
1111
"export": "else-style", "copy": "op", "log": "op",

0 commit comments

Comments
 (0)