mirror of
https://github.com/isar/rusqlite.git
synced 2025-04-01 03:22:58 +08:00
Keep using #[allow(missing_docs)]
This commit is contained in:
parent
a00acd23a6
commit
1cb5d711a4
@ -23,9 +23,9 @@ pub enum PreUpdateCase {
|
|||||||
Delete(PreUpdateOldValueAccessor),
|
Delete(PreUpdateOldValueAccessor),
|
||||||
/// Pre-update hook was triggered by an update.
|
/// Pre-update hook was triggered by an update.
|
||||||
Update {
|
Update {
|
||||||
#[expect(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
old_value_accessor: PreUpdateOldValueAccessor,
|
old_value_accessor: PreUpdateOldValueAccessor,
|
||||||
#[expect(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
new_value_accessor: PreUpdateNewValueAccessor,
|
new_value_accessor: PreUpdateNewValueAccessor,
|
||||||
},
|
},
|
||||||
/// This variant is not normally produced by SQLite. You may encounter it
|
/// This variant is not normally produced by SQLite. You may encounter it
|
||||||
|
@ -662,11 +662,10 @@ impl Connection {
|
|||||||
|
|
||||||
/// Constants passed to the conflict handler
|
/// Constants passed to the conflict handler
|
||||||
/// See [here](https://sqlite.org/session.html#SQLITE_CHANGESET_CONFLICT) for details.
|
/// See [here](https://sqlite.org/session.html#SQLITE_CHANGESET_CONFLICT) for details.
|
||||||
#[expect(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
#[repr(i32)]
|
#[repr(i32)]
|
||||||
#[derive(Debug, PartialEq, Eq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
#[expect(clippy::upper_case_acronyms)]
|
|
||||||
pub enum ConflictType {
|
pub enum ConflictType {
|
||||||
UNKNOWN = -1,
|
UNKNOWN = -1,
|
||||||
SQLITE_CHANGESET_DATA = ffi::SQLITE_CHANGESET_DATA,
|
SQLITE_CHANGESET_DATA = ffi::SQLITE_CHANGESET_DATA,
|
||||||
@ -690,11 +689,10 @@ impl From<i32> for ConflictType {
|
|||||||
|
|
||||||
/// Constants returned by the conflict handler
|
/// Constants returned by the conflict handler
|
||||||
/// See [here](https://sqlite.org/session.html#SQLITE_CHANGESET_ABORT) for details.
|
/// See [here](https://sqlite.org/session.html#SQLITE_CHANGESET_ABORT) for details.
|
||||||
#[expect(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
#[repr(i32)]
|
#[repr(i32)]
|
||||||
#[derive(Debug, PartialEq, Eq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
#[expect(clippy::upper_case_acronyms)]
|
|
||||||
pub enum ConflictAction {
|
pub enum ConflictAction {
|
||||||
SQLITE_CHANGESET_OMIT = ffi::SQLITE_CHANGESET_OMIT,
|
SQLITE_CHANGESET_OMIT = ffi::SQLITE_CHANGESET_OMIT,
|
||||||
SQLITE_CHANGESET_REPLACE = ffi::SQLITE_CHANGESET_REPLACE,
|
SQLITE_CHANGESET_REPLACE = ffi::SQLITE_CHANGESET_REPLACE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user