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

View 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();