code: func (deque *keyedDeque) Remove(e *list.Element) (v interface{}) {
  	deque.RLock()
  	key, ok := deque.invertedIndex[e]
  	deque.RUnlock()
  
  	if ok {
  		v = deque.Delete(key)
  	}
  
  	return
  }
docs: // Removes overwrites list.List.Remove.