From 3590a7524114f3cb66d503f9b72c38b4649cfd2e Mon Sep 17 00:00:00 2001 From: Tim Diekmann Date: Mon, 4 Sep 2023 01:32:06 +0200 Subject: [PATCH] Fix deprecation warning typo for `IntoReport` --- libs/error-stack/src/result.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/error-stack/src/result.rs b/libs/error-stack/src/result.rs index 19f55c41c4a..b58837ce3b0 100644 --- a/libs/error-stack/src/result.rs +++ b/libs/error-stack/src/result.rs @@ -269,7 +269,7 @@ where /// Extends [`Result`] to convert the [`Err`] variant to a [`Report`] #[deprecated( since = "0.4.0", - note = "Use `ReportExt` or `From` via `Result::map_err(Report::from)` instead" + note = "Use `ResultExt` or `From` via `Result::map_err(Report::from)` instead" )] pub trait IntoReport: Sized { /// Type of the [`Ok`] value in the [`Result`]