From 4f43ff5ac499bb413d216498c6e5b4217cc2422d Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 19 Feb 2025 15:37:41 -0600 Subject: [PATCH] docs(ref): Link ContextError to tutorial Inspired by #744. --- src/error.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/error.rs b/src/error.rs index b95f0acf..6f072494 100644 --- a/src/error.rs +++ b/src/error.rs @@ -674,6 +674,9 @@ impl ErrorConvert<()> for () { } /// Accumulate context while backtracking errors +/// +/// See the [tutorial][crate::_tutorial::chapter_7#error-adaptation-and-rendering] +/// for an example of how to adapt this to an application error with custom rendering. #[derive(Debug)] pub struct ContextError { #[cfg(feature = "alloc")]