-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add
derive_more
and remove manual trait impls (#87)
* refactor: add `derive_more` for `Deref` and remove manual impls Replaced manual `Deref` implementations with the `derive_more` crate. This reduces redundancy and simplifies the code. Also updated Cargo.toml to include `derive_more` dependency. * refactor: error handling using `derive_more::From` Replaced manual `From` implementations with `derive_more::From` to reduce boilerplate. This change streamlines the `Error` enum by deriving `From` for core, contract, and lens errors.
- Loading branch information
Showing
5 changed files
with
15 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters