fix fmt and clippy warnings

This commit is contained in:
appflowy
2022-01-24 17:35:58 +08:00
parent a9eec5baed
commit bba8f8ae01
277 changed files with 906 additions and 2690 deletions

0
frontend/rust-lib/flowy-error/src/errors.rs Normal file → Executable file
View File

0
frontend/rust-lib/flowy-error/src/ext/backend.rs Normal file → Executable file
View File

0
frontend/rust-lib/flowy-error/src/ext/collaborate.rs Normal file → Executable file
View File

0
frontend/rust-lib/flowy-error/src/ext/database.rs Normal file → Executable file
View File

0
frontend/rust-lib/flowy-error/src/ext/mod.rs Normal file → Executable file
View File

4
frontend/rust-lib/flowy-error/src/ext/ot.rs Normal file → Executable file
View File

@ -1,5 +1,7 @@
use crate::FlowyError;
impl std::convert::From<lib_ot::errors::OTError> for FlowyError {
fn from(error: lib_ot::errors::OTError) -> Self { FlowyError::internal().context(error.msg) }
fn from(error: lib_ot::errors::OTError) -> Self {
FlowyError::internal().context(error.msg)
}
}

0
frontend/rust-lib/flowy-error/src/ext/serde.rs Normal file → Executable file
View File

0
frontend/rust-lib/flowy-error/src/lib.rs Normal file → Executable file
View File

0
frontend/rust-lib/flowy-error/src/protobuf/mod.rs Normal file → Executable file
View File

View File

View File

View File