From 637a08d2220623fad112e2e5e8a2c7ac2e38b404 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Wed, 6 Nov 2024 23:36:31 +0100 Subject: [PATCH] docs(io): fix docstring warnings Signed-off-by: Paul Spooren --- util/src/io.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ///