Skip to content

Commit 4c1f890

Browse files
damjackcpiemontese
andauthored
fix: typo on src/macros.rs description for trace_anyhow_error
Co-authored-by: Cristiano Piemontese <cristiano.piemontese@prima.it>
1 parent 4f50047 commit 4c1f890

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ macro_rules! trace_error {
4848
};
4949
}
5050

51-
/// Emitt a tracing error event for anyhow error with rich, structured context.
52-
/// It capturing the error using the experimental Rust [std::error::Report](https://doc.rust-lang.org/stable/std/error/struct.Report.html)
51+
/// Emit a tracing error event for anyhow error with rich, structured context.
52+
/// It captures the error using the experimental Rust [std::error::Report](https://doc.rust-lang.org/stable/std/error/struct.Report.html)
5353
/// and adding the type name as error.kind, the backtrace as error.trace and the error stack as error.message
5454
///
5555
/// # Examples

0 commit comments

Comments
 (0)