diff --git a/src/report.rs b/src/report.rs index ca0b19ea..90554877 100644 --- a/src/report.rs +++ b/src/report.rs @@ -17,9 +17,11 @@ pub trait Reporter { type Output; /// Generate a report from the derivation tree - /// describing the resolution failure. + /// describing the resolution failure using the default formatter. fn report(derivation_tree: &DerivationTree) -> Self::Output; + /// Generate a report from the derivation tree + /// describing the resolution failure using a custom formatter. fn report_with_formatter( derivation_tree: &DerivationTree, formatter: &impl ReportFormatter,