pub fn delete(&mut self, name: &String) -> Result<(), StackError> {
        match self.vars.remove(name) {
            Some(_) => Ok(()),
            None => Err(StackError::Undefined(name.to_owned())),
        }
    }
/// Delete a variable.
/// This destroys the ObjectPtr associated with it, so the reference count is decremented.
Delete a variable.
This destroys the ObjectPtr associated with it, so the reference count is decremented.
Delete a variable . This destroys the ObjectPtr associated with it so the reference count is decremented .
pub fn delete(&mut self, name: &String) -> Result<(), StackError> {
        match self.vars.remove(name) {
            Some(_) => Ok(()),
            None => Err(StackError::Undefined(name.to_owned())),
        }
    }
pub fn delete ( & mut self , name : & String ) -> Result < ( ) , StackError > { match self . vars . remove ( name ) { Some ( _ ) => Ok ( ( ) ) , None => Err ( StackError :: Undefined ( name . to_owned ( ) ) ) , } }
Delete a variable.
Delete a variable .
&mut self
name
&String