mirror of
https://github.com/haraldh/chainerror.git
synced 2025-05-29 05:08:06 +02:00
book: use rustdoc_include
This commit is contained in:
parent
903f245278
commit
3e270f1e1a
14 changed files with 15 additions and 626 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue