Follow Clippy
This commit is contained in:
		
							parent
							
								
									de4380fd34
								
							
						
					
					
						commit
						e01539ef16
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user