This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Make the usage of tracing spans more visible #82
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
help wanted
Extra attention is needed
From
examples/theme_test_helper.rs
://! Nothing interesting here. This is just a small helper used in a test.
I beg to differ 😄
Using
color-eyre
along with the span+guard pattern:For me gives the best error reporting I have found as of yet in Rust.
(I wish it was a bit more ergonomic to set up though).
I realize this might fall into the domain of
tracing
more thancolor-eyre
(?), butI think it's so useful an example highlighting it would be very welcome.
The text was updated successfully, but these errors were encountered: