From 1cb5d711a415fc12d2cb0fdcb0ced8a0a0a9905c Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 7 Sep 2024 07:59:46 +0200 Subject: [PATCH] Keep using #[allow(missing_docs)] --- src/hooks/preupdate_hook.rs | 4 ++-- src/session.rs | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/hooks/preupdate_hook.rs b/src/hooks/preupdate_hook.rs index 59eff08..a8f625a 100644 --- a/src/hooks/preupdate_hook.rs +++ b/src/hooks/preupdate_hook.rs @@ -23,9 +23,9 @@ pub enum PreUpdateCase { Delete(PreUpdateOldValueAccessor), /// Pre-update hook was triggered by an update. Update { - #[expect(missing_docs)] + #[allow(missing_docs)] old_value_accessor: PreUpdateOldValueAccessor, - #[expect(missing_docs)] + #[allow(missing_docs)] new_value_accessor: PreUpdateNewValueAccessor, }, /// This variant is not normally produced by SQLite. You may encounter it diff --git a/src/session.rs b/src/session.rs index b53d2b1..855441c 100644 --- a/src/session.rs +++ b/src/session.rs @@ -662,11 +662,10 @@ impl Connection { /// Constants passed to the conflict handler /// See [here](https://sqlite.org/session.html#SQLITE_CHANGESET_CONFLICT) for details. -#[expect(missing_docs)] +#[allow(missing_docs)] #[repr(i32)] #[derive(Debug, PartialEq, Eq)] #[non_exhaustive] -#[expect(clippy::upper_case_acronyms)] pub enum ConflictType { UNKNOWN = -1, SQLITE_CHANGESET_DATA = ffi::SQLITE_CHANGESET_DATA, @@ -690,11 +689,10 @@ impl From for ConflictType { /// Constants returned by the conflict handler /// See [here](https://sqlite.org/session.html#SQLITE_CHANGESET_ABORT) for details. -#[expect(missing_docs)] +#[allow(missing_docs)] #[repr(i32)] #[derive(Debug, PartialEq, Eq)] #[non_exhaustive] -#[expect(clippy::upper_case_acronyms)] pub enum ConflictAction { SQLITE_CHANGESET_OMIT = ffi::SQLITE_CHANGESET_OMIT, SQLITE_CHANGESET_REPLACE = ffi::SQLITE_CHANGESET_REPLACE,