Follow Clippy
This commit is contained in:
@@ -276,7 +276,7 @@ impl User {
|
||||
))
|
||||
.execute(conn)
|
||||
.map(|_| ())
|
||||
.map_err(|err| Error::from(err))
|
||||
.map_err(Error::from)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user