chore: fix clippy (#7007)

This commit is contained in:
Richard Shiue 2024-12-18 15:34:23 +08:00 committed by GitHub
parent b966e3ea07
commit 04a013f7ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -213,7 +213,7 @@ impl Filter {
///
/// 1. a Data filter, then it should be included.
/// 2. an AND filter, then all of its effective children should be
/// included.
/// included.
/// 3. an OR filter, then only the first child should be included.
pub fn get_min_effective_filters<'a>(&'a self, min_effective_filters: &mut Vec<&'a FilterInner>) {
match &self.inner {

View File

@ -351,7 +351,7 @@ where
/// # Arguments
///
/// * `mut_configuration_fn`: mutate the [GroupSetting] and return whether the [GroupSetting] is
/// changed. If the [GroupSetting] is changed, the [GroupSetting] will be saved to the storage.
/// changed. If the [GroupSetting] is changed, the [GroupSetting] will be saved to the storage.
///
fn mut_configuration(
&mut self,

View File

@ -15,7 +15,7 @@ use flowy_user_pub::session::Session;
/// 1. Migrate the workspace: { favorite: [view_id] } to { favorite: { uid: [view_id] } }
/// 2. Migrate { workspaces: [workspace object] } to { views: { workspace object } }. Make each folder
/// only have one workspace.
/// only have one workspace.
pub struct FavoriteV1AndWorkspaceArrayMigration;
impl UserDataMigration for FavoriteV1AndWorkspaceArrayMigration {