fix clippy lints

This commit is contained in:
2021-08-20 21:26:50 +02:00
parent bc70389346
commit ded6d806f9
10 changed files with 28 additions and 41 deletions
+1 -1
View File
@@ -20,5 +20,5 @@ pub fn authenticate(registration: Registered) -> Result<Mastodon> {
let mut input = String::new();
stdin.read_line(&mut input)?;
let code = input.trim();
Ok(registration.complete(code)?)
registration.complete(code)
}