fix fmt warnings

This commit is contained in:
appflowy 2022-01-04 22:54:13 +08:00
parent b354fb79c8
commit 1846f86dd7
4 changed files with 8 additions and 10 deletions

View file

@ -1,10 +1,5 @@
use std::sync::Arc;
use backend_service::configuration::ClientServerConfiguration;
use flowy_database::DBConnection;
use flowy_document::context::DocumentContext;
use lib_dispatch::prelude::*;
use lib_sqlite::ConnectionPool;
use crate::{
context::CoreContext,
errors::FlowyError,
@ -22,6 +17,11 @@ use crate::{
WorkspaceController,
},
};
use backend_service::configuration::ClientServerConfiguration;
use flowy_database::DBConnection;
use flowy_document::context::DocumentContext;
use lib_dispatch::prelude::*;
use lib_sqlite::ConnectionPool;
pub trait WorkspaceDeps: WorkspaceUser + WorkspaceDatabase {}

View file

@ -1,6 +1,6 @@
mod manager;
mod cache;
mod disk;
mod manager;
mod memory;
pub use cache::*;

View file

@ -1,8 +1,7 @@
use crate::errors::FlowyError;
use crate::{errors::FlowyError, server::DocumentServerAPI};
use backend_service::{configuration::*, request::HttpRequestBuilder};
use flowy_collaboration::entities::doc::{CreateDocParams, DocumentId, DocumentInfo, ResetDocumentParams};
use lib_infra::future::FutureResult;
use crate::server::DocumentServerAPI;
pub struct DocServer {
config: ClientServerConfiguration,

View file

@ -4,8 +4,7 @@ use flowy_collaboration::{
};
use lib_infra::future::FutureResult;
use crate::errors::FlowyError;
use crate::server::DocumentServerAPI;
use crate::{errors::FlowyError, server::DocumentServerAPI};
pub struct DocServerMock {}