rust: replace trivial `impl From …` with `#[derive(derive_more::From)]`
Crate docs: https://jeltef.github.io/derive_more/derive_more/from.html Differential Revision: https://phab.mercurial-scm.org/D9875
Showing
- rust/Cargo.lock 13 additions, 0 deletionsrust/Cargo.lock
- rust/hg-core/Cargo.toml 1 addition, 0 deletionsrust/hg-core/Cargo.toml
- rust/hg-core/src/config/layer.rs 2 additions, 7 deletionsrust/hg-core/src/config/layer.rs
- rust/hg-core/src/dirstate/status.rs 1 addition, 17 deletionsrust/hg-core/src/dirstate/status.rs
- rust/hg-core/src/lib.rs 5 additions, 38 deletionsrust/hg-core/src/lib.rs
- rust/hg-core/src/operations/debugdata.rs 2 additions, 7 deletionsrust/hg-core/src/operations/debugdata.rs
- rust/hg-core/src/operations/list_tracked_files.rs 1 addition, 7 deletionsrust/hg-core/src/operations/list_tracked_files.rs
- rust/hg-core/src/revlog/node.rs 1 addition, 7 deletionsrust/hg-core/src/revlog/node.rs
- rust/hg-core/src/utils/hg_path.rs 3 additions, 7 deletionsrust/hg-core/src/utils/hg_path.rs
- rust/rhg/Cargo.toml 1 addition, 0 deletionsrust/rhg/Cargo.toml
- rust/rhg/src/error.rs 2 additions, 7 deletionsrust/rhg/src/error.rs
Loading
Please register or sign in to comment