Skip to content

Commit cbc5c8b

Browse files
committed
readme fixups
1 parent 6afc625 commit cbc5c8b

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ datatest_stable::harness! {
4848
of:
4949

5050
* `fn(&Path) -> datatest_stable::Result<()>`
51-
* `fn(&Utf8Path) -> datatest_stable::Result<()>` (`Utf8Path` is part of the
52-
[`camino`](https://docs.rs/camino) library, and is re-exported here for convenience.)
51+
* `fn(&Utf8Path) -> datatest_stable::Result<()>` ([`Utf8Path`](https://docs.rs/camino/1.1.9/camino/struct.Utf8Path.html) is part of the
52+
[`camino`](https://docs.rs/camino/1.1.9/camino/index.html) library, and is re-exported here for convenience.)
5353
* `fn(&P, String) -> datatest_stable::Result<()>` where `P` is `Path` or `Utf8Path`. If the
5454
extra `String` parameter is specified, the contents of the file will be loaded and passed in
5555
as a string (erroring out if that failed).
@@ -61,14 +61,14 @@ datatest_stable::harness! {
6161
the crate’s `Cargo.toml` is located). Absolute paths are not supported, and
6262
will panic at runtime.
6363

64-
`root` is an arbitrary expression that implements `Display`, such as `&str`, or a
65-
function call that returns a `Utf8PathBuf`.
64+
`root` is an arbitrary expression that implements
65+
[`Display`](https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html), such as `&str`, or a function call that
66+
returns a [`Utf8PathBuf`](https://docs.rs/camino/1.1.9/camino/struct.Utf8PathBuf.html).
6667

6768
* `pattern` - a regex used to match against and select each file to be tested. Extended regexes
68-
with lookaround and backtracking are supported via the
69-
[`fancy_regex`](https://docs.rs/fancy-regex) crate.
69+
with lookaround and backtracking are supported via the [`fancy_regex`](https://docs.rs/fancy-regex/0.14.0/fancy_regex/index.html) crate.
7070

71-
`pattern` is an arbitrary expression that implements `Display`, such as
71+
`pattern` is an arbitrary expression that implements [`Display`](https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html), such as
7272
`&str`, or a function call that returns a `String`.
7373

7474
The three parameters can be repeated if you have multiple sets of data-driven tests to be run:

src/lib.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
//! * `test` - The test function to be executed on each matching input. This function can be one
4242
//! of:
4343
//! * `fn(&Path) -> datatest_stable::Result<()>`
44-
//! * `fn(&Utf8Path) -> datatest_stable::Result<()>` (`Utf8Path` is part of the
45-
//! [`camino`](https://docs.rs/camino) library, and is re-exported here for convenience.)
44+
//! * `fn(&Utf8Path) -> datatest_stable::Result<()>` ([`Utf8Path`](camino::Utf8Path) is part of the
45+
//! [`camino`] library, and is re-exported here for convenience.)
4646
//! * `fn(&P, String) -> datatest_stable::Result<()>` where `P` is `Path` or `Utf8Path`. If the
4747
//! extra `String` parameter is specified, the contents of the file will be loaded and passed in
4848
//! as a string (erroring out if that failed).
@@ -55,14 +55,14 @@
5555
//! the crate's `Cargo.toml` is located). Absolute paths are not supported, and
5656
//! will panic at runtime.
5757
//!
58-
//! `root` is an arbitrary expression that implements `Display`, such as `&str`, or a
59-
//! function call that returns a `Utf8PathBuf`.
58+
//! `root` is an arbitrary expression that implements
59+
//! [`Display`](std::fmt::Display), such as `&str`, or a function call that
60+
//! returns a [`Utf8PathBuf`](camino::Utf8PathBuf).
6061
//!
6162
//! * `pattern` - a regex used to match against and select each file to be tested. Extended regexes
62-
//! with lookaround and backtracking are supported via the
63-
//! [`fancy_regex`](https://docs.rs/fancy-regex) crate.
63+
//! with lookaround and backtracking are supported via the [`fancy_regex`] crate.
6464
//!
65-
//! `pattern` is an arbitrary expression that implements `Display`, such as
65+
//! `pattern` is an arbitrary expression that implements [`Display`](std::fmt::Display), such as
6666
//! `&str`, or a function call that returns a `String`.
6767
//!
6868
//! The three parameters can be repeated if you have multiple sets of data-driven tests to be run:

0 commit comments

Comments
 (0)