diff options
author | Nadrieril | 2020-03-21 21:42:54 +0000 |
---|---|---|
committer | Nadrieril | 2020-03-31 21:44:01 +0100 |
commit | b0ee39b006ad2ca99bd3dddf06ab0e0dcc966d2f (patch) | |
tree | b40f5c3c22ed578d4477b246552230c0e820b57a /serde_dhall/src | |
parent | 85e2e8ee5e83dadd05b6974ba6c951350cb97a61 (diff) |
Test README code samples using doc_comment
Diffstat (limited to 'serde_dhall/src')
-rw-r--r-- | serde_dhall/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/serde_dhall/src/lib.rs b/serde_dhall/src/lib.rs index 5b8f470..4250882 100644 --- a/serde_dhall/src/lib.rs +++ b/serde_dhall/src/lib.rs @@ -168,6 +168,9 @@ //! [serde]: https://docs.serde.rs/serde/ //! [serde::Deserialize]: https://docs.serde.rs/serde/trait.Deserialize.html +#[cfg(doctest)] +doc_comment::doctest!("../../README.md"); + mod error; /// Finer-grained control over deserializing Dhall pub mod options; |