From 7347d2c195c0ea5bd8f940328f8815e15867a28c Mon Sep 17 00:00:00 2001 From: Kotaro Abe Date: Fri, 11 Feb 2022 20:07:26 +0900 Subject: [PATCH] fix: typo of variable in CONTRIBUTING (#3595) --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 52512893..eb68a0e1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -188,7 +188,7 @@ mod tests { // Here you setup the testing environment let tempdir = tempfile::tempdir()?; // Create some file needed to render the module - File::create(dir.path().join("YOUR_FILE"))?.sync_all()?; + File::create(tempdir.path().join("YOUR_FILE"))?.sync_all()?; // The output of the module let actual = ModuleRenderer::new("YOUR_MODULE_NAME")