From 9cf771926e7c49e8269bbf3692948b0777ec3705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sun, 26 Jan 2025 18:03:36 +0300 Subject: [PATCH] Add the missing backtick and documentation references --- src/macros.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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