From c4f2f6fcb6ebb8dd08278168d5a29a5284b558b8 Mon Sep 17 00:00:00 2001 From: Antonios Barotsis Date: Sat, 27 Jan 2024 11:44:11 +0100 Subject: [PATCH] fmt --- tests/utils.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/utils.rs b/tests/utils.rs index e3615bc..bd5fc34 100644 --- a/tests/utils.rs +++ b/tests/utils.rs @@ -38,16 +38,16 @@ pub fn cargo_bin() -> Command { /// Creates files in the specified directory. /// /// ## Example -/// +/// /// ```no_run /// let (_dropper, dir) = testdir().unwrap(); /// create_files_in(dir, &["file1.txt", "file2.txt"]); /// ``` pub fn create_files_in(dir: &Path, files: &[&str]) { for f in files { - std::fs::File::create(dir.join(f)).unwrap(); - } - } + std::fs::File::create(dir.join(f)).unwrap(); + } +} /// Write random content to a file pub fn write_random_content(file: &mut impl Write, rng: &mut impl RngCore) {