Improve TestDirExt docs

This commit is contained in:
teor 2020-10-10 09:18:48 +10:00 committed by Deirdre Connolly
parent 04ce907dbf
commit 3e897722a6
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ impl CommandExt for Command {
/// Extension trait for methods on `tempdir::TempDir` for using it as a test
/// 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
where
Self: Borrow<TempDir> + Sized,