simplify booksrc imports

This commit is contained in:
Harald Hoyer 2019-03-04 11:38:35 +01:00
parent dfe97b34d6
commit bc5cbd18f0
No known key found for this signature in database
GPG key ID: 340F12141EA0994D
11 changed files with 11 additions and 22 deletions

View file

@ -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}}