Skip to main content

snafu/guide/
examples.rs

1#![allow(unused, missing_docs)] // This file is for demo purposes
2//! Examples of using SNAFU
3//!
4//! You are encouraged to view the Rust source for each error type by
5//! clicking the `[src]` link in the upper-right of each documentation
6//! page. This shows how you would accomplish the same task in your
7//! code.
8//!
9//! The suggested order to browse them is:
10//!
11//! 1. [`basic`]
12//! 1. [`backtrace`]
13//!
14//! You should also feel free to browse the [acceptance tests][tests]
15//! and [compatibility tests][compat], which cover a broad range of
16//! functionality but with minimal descriptive prose.
17//!
18//! [tests]: https://github.com/shepmaster/snafu/tree/master/tests
19//! [compat]: https://github.com/shepmaster/snafu/tree/master/compatibility-tests
20
21pub mod backtrace;
22pub mod basic;