mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-11 04:21:12 +01:00
fix clippy
Use chars, instead of strings when using `str::replace` in tests.
This commit is contained in:
parent
f42c1a6098
commit
ef0d2d3aea
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ mod tests {
|
|||
"hash":"1122",
|
||||
"secret":"secret"
|
||||
}"#
|
||||
.replace("\n", "")
|
||||
.replace(" ", "");
|
||||
.replace('\n', "")
|
||||
.replace(' ', "");
|
||||
let encrypted_credentials = EncryptedCredentials {
|
||||
data: "someData".to_string(),
|
||||
hash: "1122".to_string(),
|
||||
|
|
Loading…
Reference in a new issue