We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b003dc3 + 3e2f6df commit 0954034Copy full SHA for 0954034
Cargo.toml
@@ -14,3 +14,4 @@ categories = ["filesystem"]
14
15
[dev-dependencies]
16
tempdir = "0.3"
17
+doc-comment = "0.3"
src/lib.rs
@@ -63,6 +63,13 @@
63
#![deny(missing_docs)]
64
#![cfg_attr(all(test, windows), feature(std_misc))]
65
66
+#[cfg(test)]
67
+#[macro_use]
68
+extern crate doc_comment;
69
+
70
71
+doctest!("../README.md");
72
73
use std::cmp;
74
use std::error::Error;
75
use std::fmt;
0 commit comments