{"ast_node_type":"function","tokens":[{"end":41,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn retain<F>(&mut self, mut f: F)
    /// Retains only the elements specified by the predicate.
    where