style(lib): address clippy code style warnings
* Remove unnecessary return statements. * Combine identical `match` arms. * Collapse nested conditional. * Use `assert_ne` where applicable. * Lifetime elision.
This commit is contained in:
		
				
					committed by
					
						 Sean McArthur
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							5d19ef88b4
						
					
				
				
					commit
					1059eb349a
				
			| @@ -103,7 +103,6 @@ impl Service for HttpConnector { | ||||
|         let port = match uri.port() { | ||||
|             Some(port) => port, | ||||
|             None => match uri.scheme() { | ||||
|                 Some("http") => 80, | ||||
|                 Some("https") => 443, | ||||
|                 _ => 80, | ||||
|             }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user