diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-05-07 15:06:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 15:06:55 +0300 |
commit | 0b3ff12ff593cd5626aeafbe31f6e06046ab356b (patch) | |
tree | 02515708a786fa04ab61a9ed8dd05dd7d83ec506 | |
parent | bab4066b218dc20a625d405e02433d882237d59c (diff) |
tests: replace "cfg(test)" with "cfg(doctest)" for readme testing
PR #135
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ for entry in walker.filter_entry(|e| !is_hidden(e)) { #![deny(missing_docs)] #![allow(unknown_lints)] -#[cfg(test)] +#[cfg(doctest)] doc_comment::doctest!("../README.md"); use std::cmp::{min, Ordering}; |