We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82f91d4 commit 9e17b23Copy full SHA for 9e17b23
1 file changed
bip0032/src/error.rs
@@ -11,7 +11,7 @@ use core::{error, fmt};
11
use std::borrow::Cow;
12
13
/// Result type for bip0032 operations.
14
-pub type Result<T> = core::result::Result<T, Error>;
+pub type Result<T, E = Error> = core::result::Result<T, E>;
15
16
/// Error categories for bip0032 operations.
17
#[non_exhaustive]
0 commit comments