1 2 3 4 5 6 7 8 9 10
extern crate concurrent_stack; use concurrent_stack::ConcurrentStack; fn main() { let stack = ConcurrentStack::new(); stack.push(Box::new(1)); stack.push(Box::new(2)); stack.push(Box::new(3)); }