Skip to content

Commit

Permalink
Make README test direct with doc-comment
Browse files Browse the repository at this point in the history
Remove redundant README example.
  • Loading branch information
aschampion committed May 24, 2019
1 parent 07adbf7 commit 64a542a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 35 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
**/*.rs.bk
Cargo.lock
benches/*.tif
tmp.n5
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ xz2 = { version = "0.1", optional = true }

[dev-dependencies]
bencher = "0.1.5"
doc-comment = "0.3"
futures = "0.1"
futures-cpupool = "0.1.8"
rand = "0.6"
Expand Down
35 changes: 0 additions & 35 deletions examples/readme.rs

This file was deleted.

4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
//! Janelia Research Campus.

#[cfg(all(test, feature = "filesystem"))]
doc_comment::doctest!("../README.md");


#[macro_use]
pub extern crate smallvec;

Expand Down

0 comments on commit 64a542a

Please sign in to comment.