mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 13:58:55 +08:00 
			
		
		
		
	Fix/suppress warning 'deprecated'
This commit is contained in:
		| @@ -60,6 +60,7 @@ impl Error for FromSqlError { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     #[allow(clippy::match_same_arms)] |     #[allow(clippy::match_same_arms)] | ||||||
|  |     #[allow(deprecated)] | ||||||
|     fn cause(&self) -> Option<&dyn Error> { |     fn cause(&self) -> Option<&dyn Error> { | ||||||
|         match *self { |         match *self { | ||||||
|             FromSqlError::Other(ref err) => err.cause(), |             FromSqlError::Other(ref err) => err.cause(), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user