[rust]: fix some unuse warniings

This commit is contained in:
appflowy
2021-11-23 17:32:07 +08:00
parent 7b47fb5c7f
commit ce126fe08d
3 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,7 @@ use std::{
#[derive(Clone, Debug, Derivative)]
pub struct EventRequest {
#[allow(dead_code)]
pub(crate) id: String,
pub(crate) event: Event,
#[derivative(Debug = "ignore")]

View File

@ -101,6 +101,7 @@ pub struct DatabaseCustomizerConfig {
pub(crate) journal_mode: SQLiteJournalMode,
pub(crate) synchronous: SQLiteSynchronous,
pub(crate) busy_timeout: i32,
#[allow(dead_code)]
pub(crate) secure_delete: bool,
}