Improve TestDirExt docs
This commit is contained in:
parent
04ce907dbf
commit
3e897722a6
|
|
@ -93,6 +93,9 @@ impl CommandExt for Command {
|
||||||
|
|
||||||
/// Extension trait for methods on `tempdir::TempDir` for using it as a test
|
/// Extension trait for methods on `tempdir::TempDir` for using it as a test
|
||||||
/// directory with an arbitrary command.
|
/// directory with an arbitrary command.
|
||||||
|
///
|
||||||
|
/// This trait is separate from `ZebradTestDirExt`, so that we can test
|
||||||
|
/// `zebra_test::command` without running `zebrad`.
|
||||||
pub trait TestDirExt
|
pub trait TestDirExt
|
||||||
where
|
where
|
||||||
Self: Borrow<TempDir> + Sized,
|
Self: Borrow<TempDir> + Sized,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue