syntax highlight code examples in docstrings

This commit is contained in:
Daniel Micay 2013-05-27 09:49:54 -04:00
parent 3941f78a1b
commit 0d5fdce82e
17 changed files with 165 additions and 117 deletions

View file

@ -14,7 +14,7 @@
*
* # Example
*
* ~~~
* ~~~ {.rust}
* # fn fib(n: uint) -> uint {42};
* # fn make_a_sandwich() {};
* let mut delayed_fib = std::future::spawn (|| fib(5000) );