diff --git a/src/macros.rs b/src/macros.rs index 265947d..79f1072 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -30,11 +30,14 @@ /// * Use the scope of the current module: `testdir!(ModuleScope)`. In this case the crate /// name and module path is used, but with an additional final `mod` component. /// -/// * Directly provide the path using an expression, e.g. `testdir!("sub/dir"). This +/// * Directly provide the path using an expression, e.g. `testdir!("sub/dir")`. This /// expression will be passed to [`NumberedDir::create_subdir`] and thus must evaluate to /// something which implements ``AsRef``, e.g. a simple `"sub/dir"` can be used or /// something more advanced evaluating to a path, usually [`Path`] or [`PathBuf`]. /// +/// [`NumberedDir::create_subdir`]: crate::NumberedDir::create_subdir +/// [`Path`]: std::path::Path +/// /// # Panics /// /// If there is any problem with creating the directories or cleaning up old ones this will