Skip to content

Commit

Permalink
fix: cargo fmt (#168)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Beyer <[email protected]>
  • Loading branch information
matthiasbeyer authored May 5, 2022
1 parent 2451ad6 commit 33c8903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eyreish/into_diagnostic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T, E> {
/// 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<T, Report>;
}

Expand Down

0 comments on commit 33c8903

Please sign in to comment.