repl.it
@pyelias/

bfrs-2

Rust

No description

fork
loading
Files
  • main.rs
  • ast.rs
  • dearray.rs
main.rs
1
2
3
4
5
6
7
8
9
use std::collections::HashMap;

fn main() {
	let mut h = HashMap::new();
	h.insert(&1, 2);
	let v = h.get(&1).unwrap();
	h.remove(&1);
	println!("{}", v);
}
?