mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 05:48:56 +08:00 
			
		
		
		
	Fix a minor clippy complaint from nightly clippy
This commit is contained in:
		| @@ -1218,7 +1218,7 @@ mod test { | ||||
|     fn test_open_failure() { | ||||
|         let filename = "no_such_file.db"; | ||||
|         let result = Connection::open_with_flags(filename, OpenFlags::SQLITE_OPEN_READ_ONLY); | ||||
|         assert!(!result.is_ok()); | ||||
|         assert!(result.is_err()); | ||||
|         let err = result.err().unwrap(); | ||||
|         if let Error::SqliteFailure(e, Some(msg)) = err { | ||||
|             assert_eq!(ErrorCode::CannotOpen, e.code); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user