mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 14:47:13 -04:00
fix fmt warnings
This commit is contained in:
parent
b354fb79c8
commit
1846f86dd7
4 changed files with 8 additions and 10 deletions
|
@ -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 {}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
mod manager;
|
||||
mod cache;
|
||||
mod disk;
|
||||
mod manager;
|
||||
mod memory;
|
||||
|
||||
pub use cache::*;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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 {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue