1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-11 20:05:25 +02:00

Remove unnecessary clone() ()

This commit is contained in:
Joseph T. Lyons
2021-01-25 02:13:05 -05:00
committed by GitHub
parent 833baca66e
commit 9bc24e3b12

@ -203,7 +203,7 @@ mod tests {
let new_file = dirs.test().join("updated_configuration.toml"); let new_file = dirs.test().join("updated_configuration.toml");
let fake_config = FakeConfig::new(&file); let fake_config = FakeConfig::new(&file);
let mut actual = EnvironmentSyncer::with_config(Box::new(fake_config.clone())); let mut actual = EnvironmentSyncer::with_config(Box::new(fake_config));
// Here, the environment variables from the current session // Here, the environment variables from the current session
// are cleared since we will load and set them from the // are cleared since we will load and set them from the