diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -67,6 +67,13 @@ This crate can also be used without the standard library. #[cfg(feature = "std")] extern crate core; +#[cfg(test)] +#[macro_use] +extern crate doc_comment; + +#[cfg(test)] +doctest!("../README.md"); + use core::fmt::Debug; use core::hash::Hash; use core::ptr::copy_nonoverlapping; |