AppFlowy/frontend/rust-lib/flowy-grid
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
..
src Resolve rust clippy warnings (#946) 2022-09-01 12:26:51 +08:00
tests chore: add board no status column 2022-08-30 15:21:53 +08:00
build.rs refactor: separate proto file from src folder 2022-06-15 19:40:18 +08:00
Cargo.toml feat: config view lens 2022-08-15 20:07:01 +08:00
Flowy.toml refactor: type options directory 2022-07-13 11:09:13 +08:00