Add comment to clarify how overwritten values are restored.

This commit is contained in:
Sam Hedin 2020-06-08 07:05:12 +02:00
parent 99824d864c
commit 5a85a3448e

View File

@ -46,6 +46,7 @@ impl DirectorySpecificEnvironment {
}
}
//If we are no longer in a directory, we restore the values it overwrote.
pub fn overwritten_values_to_restore(&mut self) -> Result<IndexMap<String, String>> {
let current_dir = std::env::current_dir()?;