mirror of
https://github.com/haraldh/chainerror.git
synced 2025-05-30 21:48:06 +02:00
simplify booksrc imports
This commit is contained in:
parent
dfe97b34d6
commit
bc5cbd18f0
11 changed files with 11 additions and 22 deletions
|
@ -9,8 +9,7 @@ more debug strings.
|
|||
`mstrerror!()` even understands `format!()` syntax like `println!()`.
|
||||
|
||||
~~~rust
|
||||
use crate::chainerror::*;
|
||||
{{#include ../examples/tutorial4.rs:2:}}
|
||||
{{#include ../examples/tutorial4.rs}}
|
||||
# #[allow(dead_code)]
|
||||
# mod chainerror {
|
||||
{{#includecomment ../src/lib.rs}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue