mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 00:38:23 +01:00
Remove unnecessary clone()
(#2970)
This commit is contained in:
parent
833baca66e
commit
9bc24e3b12
2
crates/nu-cli/src/env/environment_syncer.rs
vendored
2
crates/nu-cli/src/env/environment_syncer.rs
vendored
@ -203,7 +203,7 @@ mod tests {
|
||||
let new_file = dirs.test().join("updated_configuration.toml");
|
||||
|
||||
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
|
||||
// are cleared since we will load and set them from the
|
||||
|
Loading…
Reference in New Issue
Block a user