Skip to content

Instantly share code, notes, and snippets.

@RustyRails
RustyRails / main.rs
Created October 13, 2015 06:19
Challenge #236 [Easy] Random Bag System
extern crate rand;
use rand::Rng;
use std::option::Option;
struct Bag {
contents: Vec<char>,
rng: rand::ThreadRng,
}