about summary refs log tree commit diff
path: root/doc/tutorial/lib
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-11-02 13:49:37 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2011-11-02 13:49:37 +0100
commitd58a9c73464133f95663bf5e78bb693ffb5de284 (patch)
tree6e8c73824a3397b4f513a04810ad11a3bd6c94e8 /doc/tutorial/lib
parent769e9b669bd020c5c972e9bd8c05fafefedb7fc6 (diff)
downloadrust-d58a9c73464133f95663bf5e78bb693ffb5de284.tar.gz
rust-d58a9c73464133f95663bf5e78bb693ffb5de284.zip
Expand the tutorial section on functions
Diffstat (limited to 'doc/tutorial/lib')
-rw-r--r--doc/tutorial/lib/codemirror-rust.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/tutorial/lib/codemirror-rust.js b/doc/tutorial/lib/codemirror-rust.js
index 70091470e80..5ab964c107e 100644
--- a/doc/tutorial/lib/codemirror-rust.js
+++ b/doc/tutorial/lib/codemirror-rust.js
@@ -8,7 +8,8 @@ CodeMirror.defineMode("rust", function() {
     "lambda": "fn", "type": "type", "tag": "tag", "mod": "mod",
     "as": "op", "true": "atom", "false": "atom", "assert": "op", "check": "op",
     "claim": "op", "native": "ignore", "unsafe": "ignore", "import": "else-style",
-    "export": "else-style", "copy": "op", "log": "op", "log_err": "op", "use": "op"
+    "export": "else-style", "copy": "op", "log": "op", "log_err": "op",
+    "use": "op", "bind": "op"
   };
   var typeKeywords = function() {
     var keywords = {"fn": "fn", "block": "fn", "obj": "obj"};