Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: fix clippy (#7007)

Richard Shiue04a013f7ee74
diff --git a/frontend/rust-lib/flowy-database2/src/services/filter/entities.rs b/frontend/rust-lib/flowy-database2/src/services/filter/entities.rs
index 81aacd3f65..52e368596c 100644
--- a/frontend/rust-lib/flowy-database2/src/services/filter/entities.rs
+++ b/frontend/rust-lib/flowy-database2/src/services/filter/entities.rs
@@ -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 {
diff --git a/frontend/rust-lib/flowy-database2/src/services/group/configuration.rs b/frontend/rust-lib/flowy-database2/src/services/group/configuration.rs
index 97636920a7..95c1048b60 100644
--- a/frontend/rust-lib/flowy-database2/src/services/group/configuration.rs
+++ b/frontend/rust-lib/flowy-database2/src/services/group/configuration.rs
@@ -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,
diff --git a/frontend/rust-lib/flowy-user/src/migrations/workspace_and_favorite_v1.rs b/frontend/rust-lib/flowy-user/src/migrations/workspace_and_favorite_v1.rs
index 9586997549..ec55b5fe29 100644
--- a/frontend/rust-lib/flowy-user/src/migrations/workspace_and_favorite_v1.rs
+++ b/frontend/rust-lib/flowy-user/src/migrations/workspace_and_favorite_v1.rs
@@ -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 {