mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 15:01:45 +01:00
fix clippy
Use chars, instead of strings when using `str::replace` in tests.
This commit is contained in:
parent
604a5cc91b
commit
df5487a04b
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