mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 22:08:55 +08:00 
			
		
		
		
	Fix clippy warnings (derive_partial_eq_without_eq)
This commit is contained in:
		| @@ -188,7 +188,7 @@ pub fn eponymous_only_module<'vtab, T: VTab<'vtab>>() -> &'static Module<'vtab, | ||||
| #[repr(i32)] | ||||
| #[non_exhaustive] | ||||
| #[cfg(feature = "modern_sqlite")] // 3.7.7 | ||||
| #[derive(Debug, Clone, Copy, PartialEq)] | ||||
| #[derive(Debug, Clone, Copy, Eq, PartialEq)] | ||||
| pub enum VTabConfig { | ||||
|     /// Equivalent to SQLITE_VTAB_CONSTRAINT_SUPPORT | ||||
|     ConstraintSupport = 1, | ||||
| @@ -322,7 +322,7 @@ pub trait UpdateVTab<'vtab>: CreateVTab<'vtab> { | ||||
|  | ||||
| /// Index constraint operator. | ||||
| /// See [Virtual Table Constraint Operator Codes](https://sqlite.org/c3ref/c_index_constraint_eq.html) for details. | ||||
| #[derive(Debug, PartialEq)] | ||||
| #[derive(Debug, Eq, PartialEq)] | ||||
| #[allow(non_snake_case, non_camel_case_types, missing_docs)] | ||||
| #[allow(clippy::upper_case_acronyms)] | ||||
| pub enum IndexConstraintOp { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user