More rust snippets