From 5112004099f5ca021a975acc2495bf3b8bae4311 Mon Sep 17 00:00:00 2001 From: Leynos Date: Fri, 4 Jul 2025 22:46:25 +0100 Subject: [PATCH 1/2] Clarify importance of error Display docs --- tests/error_display.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/error_display.rs b/tests/error_display.rs index b79b3149..cda4528a 100644 --- a/tests/error_display.rs +++ b/tests/error_display.rs @@ -2,6 +2,8 @@ //! //! Verifies that error types provide human-readable messages via Display //! and correctly expose underlying error sources via `Error::source`. +//! Implementing these traits keeps logs clear for operators +//! and surfaces cause chains so developers can diagnose issues. use std::error::Error; From 2dedf5efad716c0d5e4de30e9a3201ec76642044 Mon Sep 17 00:00:00 2001 From: Leynos Date: Fri, 4 Jul 2025 22:52:26 +0100 Subject: [PATCH 2/2] Update tests/error_display.rs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- tests/error_display.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/error_display.rs b/tests/error_display.rs index cda4528a..7db8a9b8 100644 --- a/tests/error_display.rs +++ b/tests/error_display.rs @@ -2,8 +2,8 @@ //! //! Verifies that error types provide human-readable messages via Display //! and correctly expose underlying error sources via `Error::source`. -//! Implementing these traits keeps logs clear for operators -//! and surfaces cause chains so developers can diagnose issues. +//! Implementing these traits keeps logs clear for operators, +//! and surfaces causal chains so developers can diagnose issues. use std::error::Error;