mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-08-18 13:51:22 +00:00
chore: fix clippy (#7007)
This commit is contained in:
parent
b966e3ea07
commit
04a013f7ee
@ -213,7 +213,7 @@ impl Filter {
|
|||||||
///
|
///
|
||||||
/// 1. a Data filter, then it should be included.
|
/// 1. a Data filter, then it should be included.
|
||||||
/// 2. an AND filter, then all of its effective children should be
|
/// 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.
|
/// 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>) {
|
pub fn get_min_effective_filters<'a>(&'a self, min_effective_filters: &mut Vec<&'a FilterInner>) {
|
||||||
match &self.inner {
|
match &self.inner {
|
||||||
|
@ -351,7 +351,7 @@ where
|
|||||||
/// # Arguments
|
/// # Arguments
|
||||||
///
|
///
|
||||||
/// * `mut_configuration_fn`: mutate the [GroupSetting] and return whether the [GroupSetting] is
|
/// * `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(
|
fn mut_configuration(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
@ -15,7 +15,7 @@ use flowy_user_pub::session::Session;
|
|||||||
|
|
||||||
/// 1. Migrate the workspace: { favorite: [view_id] } to { favorite: { uid: [view_id] } }
|
/// 1. Migrate the workspace: { favorite: [view_id] } to { favorite: { uid: [view_id] } }
|
||||||
/// 2. Migrate { workspaces: [workspace object] } to { views: { workspace object } }. Make each folder
|
/// 2. Migrate { workspaces: [workspace object] } to { views: { workspace object } }. Make each folder
|
||||||
/// only have one workspace.
|
/// only have one workspace.
|
||||||
pub struct FavoriteV1AndWorkspaceArrayMigration;
|
pub struct FavoriteV1AndWorkspaceArrayMigration;
|
||||||
|
|
||||||
impl UserDataMigration for FavoriteV1AndWorkspaceArrayMigration {
|
impl UserDataMigration for FavoriteV1AndWorkspaceArrayMigration {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user