Skip to content

Commit

Permalink
Merge pull request #505 from PolpOnline/result
Browse files Browse the repository at this point in the history
Let Result accept other errors
  • Loading branch information
jondot authored Mar 19, 2024
2 parents 0de61ec + f3a64c5 commit 5b6123e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ pub mod tests_cfg;
pub use validator;

/// Application results options list
pub type Result<T> = std::result::Result<T, Error>;
pub type Result<T, E = Error> = std::result::Result<T, E>;

0 comments on commit 5b6123e

Please sign in to comment.