From 1fc31b919d621e3757a585d309a84d660c740aa0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 5 May 2022 11:13:10 +0200 Subject: [PATCH] Fix: Formatting Signed-off-by: Matthias Beyer --- src/eyreish/into_diagnostic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eyreish/into_diagnostic.rs b/src/eyreish/into_diagnostic.rs index 060c2fa..6480013 100644 --- a/src/eyreish/into_diagnostic.rs +++ b/src/eyreish/into_diagnostic.rs @@ -21,8 +21,8 @@ inaccessible. If you have a type implementing [`Diagnostic`] consider simply ret [`Into`] or the [`Try`](std::ops::Try) operator (`?`). */ pub trait IntoDiagnostic { - /// Converts [`Result`] types that return regular [`std::error::Error`]s into a - /// [`Result`] that returns a [`Diagnostic`]. + /// Converts [`Result`] types that return regular [`std::error::Error`]s + /// into a [`Result`] that returns a [`Diagnostic`]. fn into_diagnostic(self) -> Result; }