1 2 3 4 5 6 7 8
use crate::stack::Stack; impl<T> Stack<T> { pub fn clear(&mut self) -> &mut Stack<T> { self.stack.clear(); self } }