Skip to main content

remove

Function remove 

Source
pub fn remove(key: &str) -> Option<String>
Expand description

Remove a key from the runtime map (does not touch process env).

Returns the previous runtime-map value if one was set. After removal get will fall back to the process environment as usual.

Primarily intended for tests that need to leave the runtime map clean for siblings — production code should rarely need this.