Fix deprecation warning in deque.rs