mirror of
https://github.com/BurntSushi/walkdir.git
synced 2025-09-30 07:00:37 +00:00
tests: replace "cfg(test)" with "cfg(doctest)" for readme testing
PR #135
This commit is contained in:
parent
bab4066b21
commit
0b3ff12ff5
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user