book: use rustdoc_include

This commit is contained in:
Harald Hoyer 2020-03-03 14:25:37 +01:00
parent 903f245278
commit 3e270f1e1a
No known key found for this signature in database
GPG key ID: 340F12141EA0994D
14 changed files with 15 additions and 626 deletions

View file

@ -10,7 +10,7 @@ have to change much or anything.
# #[allow(dead_code)]
# #[macro_use]
# pub mod chainerror {
{{#includecomment ../src/lib.rs}}
{{#rustdoc_include ../src/lib.rs:-1}}
# }
pub mod mycrate {
use crate::chainerror::*; // omit the `crate::` part