Closed
Description
It seems that the test feature requirement for the doctest!() macro currently disables the validation of the tests cases inside the README.md file.
https://github.com/Geal/nom/blob/f40e4a74bd25abea2d2de306476c143dd0e9a181/src/lib.rs#L425-L426
I assume that the reason here is rustdoc not using the test flag (rust-lang/rust#61199). So this will not work until rust-lang/rust#61351 and rust-lang/rust#62213 are merged and we change the l.425 into #[cfg(doctest)]
.
Metadata
Metadata
Assignees
Labels
No labels