Fix clippy::manual_str_repeat

This commit is contained in:
ice_iix 2021-07-31 19:06:42 -07:00
parent 814b6ab422
commit eb420c4896
1 changed files with 1 additions and 1 deletions

View File

@ -1643,7 +1643,7 @@ impl TextBox {
fn transform_input(&self) -> String {
if self.password {
::std::iter::repeat('*').take(self.input.len()).collect()
"*".repeat(self.input.len())
} else {
self.input.clone()
}