mirror of
https://github.com/haraldh/chainerror.git
synced 2025-05-30 05:28:08 +02:00
simplify booksrc imports
This commit is contained in:
parent
dfe97b34d6
commit
bc5cbd18f0
11 changed files with 11 additions and 22 deletions
|
@ -25,8 +25,7 @@ Also noteworthy is [custom_error](https://crates.io/crates/custom_error) to defi
|
|||
which can then be used with `chainerror`.
|
||||
|
||||
~~~rust
|
||||
use crate::chainerror::*;
|
||||
{{#include ../examples/tutorial11.rs:2:}}
|
||||
{{#include ../examples/tutorial11.rs}}
|
||||
# #[allow(dead_code)]
|
||||
# mod chainerror {
|
||||
{{#includecomment ../src/lib.rs}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue