pub fn remove_argument(&mut self, letter: char) -> Option<Argument> {
        if let Some(ix) =
            self.arguments.iter().position(|arg| arg.letter == letter)
        {
            let removed = self.arguments.remove(ix);
            Some(removed)
        } else {
            None
        }
    }
/// Remove the first argument with the specified `letter`.
Remove the first argument with the specified `letter`.
Remove the first argument with the specified ` letter ` .
pub fn remove_argument(&mut self, letter: char) -> Option<Argument> {
        if let Some(ix) =
            self.arguments.iter().position(|arg| arg.letter == letter)
        {
            let removed = self.arguments.remove(ix);
            Some(removed)
        } else {
            None
        }
    }
pub fn remove_argument ( & mut self , letter : char ) -> Option < Argument > { if let Some ( ix ) = self . arguments . iter ( ) . position ( | arg | arg . letter == letter ) { let removed = self . arguments . remove ( ix ) ; Some ( removed ) } else { None } }
Remove the first argument with the specified `letter`.
Remove the first argument with the specified ` letter ` .
&mut self
letter
char
&mut self
letter
char