Skip to content

Commit f69ab5e

Browse files
author
Stephan Dilly
committed
fix nightly clippy
1 parent f232ed8 commit f69ab5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/cred.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl Component for CredComponent {
118118
Some(
119119
self.input_username
120120
.get_text()
121-
.to_owned(),
121+
.clone(),
122122
),
123123
None,
124124
);
@@ -130,7 +130,7 @@ impl Component for CredComponent {
130130
Some(
131131
self.input_password
132132
.get_text()
133-
.to_owned(),
133+
.clone(),
134134
),
135135
);
136136
self.input_password.hide();

0 commit comments

Comments
 (0)