Skip to content

Commit df3e981

Browse files
authored
chore: fix warning on stable clippy (#364)
1 parent b1b545e commit df3e981

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cot/src/db.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,11 @@ pub type Result<T> = std::result::Result<T, DatabaseError>;
120120
note = "annotate `{Self}` with the `#[cot::db::model]` attribute"
121121
)]
122122
pub trait Model: Sized + Send + 'static {
123-
#[expect(clippy::doc_markdown, reason = "UPPER_SNAKE_CASE")]
123+
#[allow(
124+
clippy::allow_attributes,
125+
clippy::doc_markdown,
126+
reason = "UPPER_SNAKE_CASE"
127+
)]
124128
/// A helper structure for the fields of the model.
125129
///
126130
/// This structure should a constant [`FieldRef`](query::FieldRef) instance

0 commit comments

Comments
 (0)