tutorial: Some work on closures
This commit is contained in:
parent
129de96023
commit
b446ea8710
2 changed files with 63 additions and 37 deletions
|
@ -1,7 +1,7 @@
|
|||
CodeMirror.defineMode("rust", function() {
|
||||
var indentUnit = 4, altIndentUnit = 2;
|
||||
var valKeywords = {
|
||||
"if": "if-style", "while": "if-style", "else": "else-style",
|
||||
"if": "if-style", "while": "if-style", "loop": "if-style", "else": "else-style",
|
||||
"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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue