Skip to content

Commit

Permalink
Let Result accept other errors
Browse files Browse the repository at this point in the history
  • Loading branch information
PolpOnline committed Mar 19, 2024
1 parent 0de61ec commit f3a64c5
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 f3a64c5

Please sign in to comment.