AppFlowy/shared-lib
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
..
flowy-ast fix format and clippy warnings 2022-01-23 12:14:00 +08:00
flowy-derive chore: remove pb reference in util.rs 2022-07-19 13:07:30 +08:00
flowy-error-code fix: save group rev without apply change 2022-08-21 23:18:42 +08:00
flowy-folder-data-model refactor: replace plugin type with layout type 2022-08-18 21:44:22 +08:00
flowy-grid-data-model chore: insert default group at index 0 2022-08-25 13:44:58 +08:00
flowy-sync fix: fix some bugs 2022-08-22 17:45:15 +08:00
lib-infra feat: config view lens 2022-08-15 20:07:01 +08:00
lib-ot Resolve rust clippy warnings (#946) 2022-09-01 12:26:51 +08:00
lib-ws chore: ignore shared-lib proto files 2022-06-17 17:14:24 +08:00
Cargo.lock feat: document model in rust 2022-08-22 19:42:43 +08:00
Cargo.toml chore: rm flowy-user-data-model crate 2022-07-04 15:55:48 +08:00
rust-toolchain.toml switch to stable channel 2022-01-23 11:34:41 +08:00
rustfmt.toml fix format and clippy warnings 2022-01-23 12:14:00 +08:00