[][src]Function kankyo::unload

pub fn unload() -> IoResult<()>

Unloads all environment variables in the default ./.env file from the current environment.

Examples

try!(kankyo::load(false));
println!("Loaded!");

try!(kankyo::unload());
println!("Unloaded!");

Errors

Returns an std::io::Error if there was an error reading from the reader.