Created
May 25, 2014 14:42
-
-
Save schmee/410a322feb694e05cc3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate collections; | |
use collections::HashMap; | |
fn main () { | |
} | |
static MISSING: uint = 0; | |
#[deriving(Clone)] | |
struct CountedSet<T> { | |
data: HashMap<T, uint>, | |
missing: &'static uint | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment