remove deprecated 'try!' macro
This commit is contained in:
		
				
					committed by
					
						 Sean McArthur
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							e45d77584b
						
					
				
				
					commit
					06353fbb1a
				
			| @@ -253,8 +253,8 @@ static BLOCK_IN_FUTURE: &str = "blocking Client used inside a Future context"; | |||||||
| impl fmt::Display for Error { | impl fmt::Display for Error { | ||||||
|     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { |     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||||||
|         if let Some(ref url) = self.inner.url { |         if let Some(ref url) = self.inner.url { | ||||||
|             r#try!(fmt::Display::fmt(url, f)); |             fmt::Display::fmt(url, f)?; | ||||||
|             r#try!(f.write_str(": ")); |             f.write_str(": ")?; | ||||||
|         } |         } | ||||||
|         match self.inner.kind { |         match self.inner.kind { | ||||||
|             Kind::Http(ref e) => fmt::Display::fmt(e, f), |             Kind::Http(ref e) => fmt::Display::fmt(e, f), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user