mirror of
https://github.com/nushell/nushell.git
synced 2025-02-03 03:59:23 +01:00
Add comment to clarify how overwritten values are restored.
This commit is contained in:
parent
99824d864c
commit
5a85a3448e
@ -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()?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user