AppFlowy/frontend
gabrielztk 70f9a289a4
Resolve rust clippy warnings (#946)
* refactor: avoid using `collect()` when not needed
and cascade notation

* refactor:  The user might expect to be able
to use Default as the type can be
constructed without arguments.

* refactor: using `clone` on type `indextree::NodeId`
which implements the `Copy` trait

* refactor: remove intermediary
variables and use cascade notation

* refactor: using `clone` on type `indextree::NodeId`
which implements the `Copy` trait

* refactor: unneeded `return` statement

* refactor: ok_or_else avoids executing a
function when it's not needed

* refactor: dereferenced by the compiler

* refactor: user enumeration for index

* refactor: using `clone` on type `usize`
 which implements the `Copy` trait

* refactor: useless conversion to the
same type: `&str`

* refactor:  The user might expect to be able use Default
as type can be constructed without arguments

* refactor:  The user might expect to be able use Default
as type can be constructed without arguments

* fix: rust formating with fmt

* fix: conflict default implementation

Co-authored-by: appflowy <annie@appflowy.io>
2022-09-01 12:26:51 +08:00
..
.vscode fix: fix some bugs 2022-08-22 17:45:15 +08:00
app_flowy Merge pull request #960 from AppFlowy-IO/fix/docker_build 2022-08-31 23:27:26 +08:00
rust-lib Resolve rust clippy warnings (#946) 2022-09-01 12:26:51 +08:00
scripts chore: run command in sudo mode 2022-08-31 23:00:58 +08:00
Makefile.toml chore: update version 2022-08-25 16:50:29 +08:00