There's no explanation anywhere right now of how to do testing with Rust, so here's a basic explanation of how to write and run a test.
By returning the items to process and storing them in a queue, we were losing
the context that was setup for that item during the recursion. This is an easy
fix, rather than hoisting out the state that it needs.
Many of them are small. Will squash on request, but I feel like it's easier
for everyone (easier to see and back out individual changes) this way.
Also say that the Windows installer is not supported.
The section on closure types was missing, so I added one. I'm new to Rust, so there are probably important things to say about closure types that I'm missing here.
I tested the example with the latest Rust nightly.
These changes were necessary to get this example to compile. Not sure how to get command line args now, since fn main(args: ~[~str]) produces the following compiler error:
main.rs:21:0: 23:1 error: Wrong type in main function: ...
Before this fix, compiling produced the following error:
main.rs:3:24: 3:52 error: binary operation + cannot be applied to type `&static/str`
main.rs:3 fn main() { io::println("hello " + world::explore()); }
...