pub fn remove_variable(&mut self, key: &str) -> Option<String> {
        self.vars.remove(key).map(|var| {
            var.to_string()
        })
    }
/// Removes a variable from the shell.
Removes a variable from the shell.
Removes a variable from the shell .
pub fn remove_variable(&mut self, key: &str) -> Option<String> {
        self.vars.remove(key).map(|var| {
            var.to_string()
        })
    }
pub fn remove_variable ( & mut self , key : & str ) -> Option < String > { self . vars . remove ( key ) . map ( | var | { var . to_string ( ) } ) }
Removes a variable from the shell.
Removes a variable from the shell .
&mut self
key
&str