diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,9 +8,9 @@ //! //! Please note that functions of this parser may panic. //! If a panic could cause a Denial Of Service in your codebase, *you're* responsible for wrapping access to this library in `catch_unwind`. +//! -#[cfg(doctest)] -doc_comment::doctest!("../README.md"); +#![cfg_attr(doctest, doc = include_str!("../README.md"))] pub use crate::reader::EventReader; pub use crate::reader::ParserConfig; |