Skip to content

Commit

Permalink
fix: rust lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 committed Aug 27, 2024
1 parent 6beb154 commit 35f1bb8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/biz/user/user_init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ where

// push the database record
if object_type == CollabType::Database {
match &template_id {
TemplateObjectId::Database {
object_id: _,
database_id,
} => database_records.push((view_id, database_id.clone())),
_ => (),
if let TemplateObjectId::Database {
object_id: _,
database_id,
} = &template_id
{
database_records.push((view_id, database_id.clone()));
}
}
}
Expand Down

0 comments on commit 35f1bb8

Please sign in to comment.