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; }