mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-25 07:07:32 -04:00
fix fmt and clippy warnings
This commit is contained in:
parent
a9eec5baed
commit
bba8f8ae01
277 changed files with 906 additions and 2690 deletions
2
frontend/rust-lib/flowy-document/tests/document/edit_script.rs
Normal file → Executable file
2
frontend/rust-lib/flowy-document/tests/document/edit_script.rs
Normal file → Executable file
|
@ -63,7 +63,7 @@ impl EditorTest {
|
|||
EditorScript::AssertNextRevId(rev_id) => {
|
||||
let next_revision = rev_manager.next_sync_revision().await.unwrap();
|
||||
if rev_id.is_none() {
|
||||
assert_eq!(next_revision.is_none(), true, "Next revision should be None");
|
||||
assert!(next_revision.is_none(), "Next revision should be None");
|
||||
return;
|
||||
}
|
||||
let next_revision = next_revision.unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue