diff --git a/util/src/io.rs b/util/src/io.rs index 62c2e63..60747ea 100644 --- a/util/src/io.rs +++ b/util/src/io.rs @@ -292,7 +292,7 @@ impl TryIoErrorKind for T { /// /// See [tutorial in the module](self). pub trait IoResultKindHintExt: Sized { - // Error trait including the ErrorKind hint + /// Error type including the ErrorKind hint type Error; /// Helper for accessing [std::io::Error::kind] in Results /// @@ -318,7 +318,7 @@ impl IoResultKindHintExt for Result { /// /// See [tutorial in the module](self). pub trait TryIoResultKindHintExt: Sized { - // Error trait including the ErrorKind hint + /// Error type including the ErrorKind hint type Error; /// Helper for accessing [std::io::Error::kind] in Results where it may not be present ///