aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src/cli.rs')
-rw-r--r--alacritty/src/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty/src/cli.rs b/alacritty/src/cli.rs
index e7f2d3ef..803c1f8c 100644
--- a/alacritty/src/cli.rs
+++ b/alacritty/src/cli.rs
@@ -216,10 +216,10 @@ impl WindowIdentity {
/// Override the [`WindowIdentity`]'s fields with the [`WindowOptions`].
pub fn override_identity_config(&self, identity: &mut Identity) {
if let Some(title) = &self.title {
- identity.title = title.clone();
+ identity.title.clone_from(title);
}
if let Some(class) = &self.class {
- identity.class = class.clone();
+ identity.class.clone_from(class);
}
}
}