Updated to Rust 0.6 syntax.
Merge pull request #2 from metajack/rust-0.6-syntax

Updated to Rust 0.6 syntax.