From 2bdbbbc1fb2d340d7f7cdbea24c3a5e56f891fad Mon Sep 17 00:00:00 2001 From: Matthew Gordon Date: Fri, 1 Mar 2024 22:39:07 -0400 Subject: [PATCH] Fix type on docs --- src/error.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/error.rs b/src/error.rs index 577cefe..1cfeeb0 100644 --- a/src/error.rs +++ b/src/error.rs @@ -7,9 +7,9 @@ //! also supplies some constructors, such as [Error::new_unexpected()] //! and [Error::new_unauthorized] that can be used directly. //! -//! The intended use is that error types which have [FromError] -//! defined might sometimes be handled at a higher level. If an error -//! should always be handled here then other modules should call the +//! The intended use is that error types which have [From] defined +//! might sometimes be handled at a higher level. If an error should +//! always be handled here then other modules should call the //! appropriate [Error] constructor directly. use {