Update rust snippets
Merge pull request #437 from ebfe/rust

Update rust snippets