mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-14 07:51:01 +00:00
Follow Clippy
This commit is contained in:
parent
de4380fd34
commit
e01539ef16
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ fn main() {
|
|||
e => e.map(|_| ()).unwrap(),
|
||||
}
|
||||
let conn = Conn::establish(CONFIG.database_url.as_str());
|
||||
let _ = conn.as_ref().map(|conn| Instance::cache_local(conn));
|
||||
let _ = conn.as_ref().map(Instance::cache_local);
|
||||
|
||||
match matches.subcommand() {
|
||||
("instance", Some(args)) => {
|
||||
|
|
|
@ -276,7 +276,7 @@ impl User {
|
|||
))
|
||||
.execute(conn)
|
||||
.map(|_| ())
|
||||
.map_err(|err| Error::from(err))
|
||||
.map_err(Error::from)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue