shepmaster / snafu

Easily assign underlying errors into domain-specific errors while adding context
https://docs.rs/snafu/
Apache License 2.0
1.45k stars 61 forks source link

Add attribute cheat sheet #342

Closed seritools closed 2 years ago

seritools commented 2 years ago

As discussed on discord, feel free to edit/move/etc. :)

netlify[bot] commented 2 years ago

Deploy Preview for shepmaster-snafu ready!

Name Link
Latest commit c7cc16fee8e4570d80bb7f36ef3394a76c239627
Latest deploy log https://app.netlify.com/sites/shepmaster-snafu/deploys/632285274bfdf80008c5aaea
Deploy Preview https://deploy-preview-342--shepmaster-snafu.netlify.app/snafu
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

shepmaster commented 2 years ago

Alright, I moved the cheat sheet to the Snafu macro, more aggressively linked to the macro docs from the crate doc root, and renamed the the_macro section of the guide. WDYT?

seritools commented 2 years ago

LGTM!