Keep using #[allow(missing_docs)]

This commit is contained in:
gwenn 2024-09-07 07:59:46 +02:00
parent a00acd23a6
commit 1cb5d711a4
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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<i32> 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,