From c81788f512acc582f708be650c2bcfabdedc75d3 Mon Sep 17 00:00:00 2001 From: Lucian Danescu Date: Sat, 12 Nov 2022 19:40:28 +0200 Subject: [PATCH] style fix --- std/file.d | 2 +- std/process.d | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/std/file.d b/std/file.d index 71b92d7d1..d03109667 100644 --- a/std/file.d +++ b/std/file.d @@ -4986,7 +4986,7 @@ auto dirEntries(bool useDIP1000 = dip1000Enabled) { string[] listdir(string pathname) { - import std.algorithm : map, filter; + import std.algorithm.iteration : map, filter; import std.array : array; import std.path : baseName; diff --git a/std/process.d b/std/process.d index 25c00859f..3eaa28352 100644 --- a/std/process.d +++ b/std/process.d @@ -1735,7 +1735,6 @@ version (Posix) @system unittest import std.file : tempDir, exists, remove; import std.uuid : randomUUID; import std.exception : collectException; - auto pipei = pipe(); auto pipeo = pipe(); auto pipee = pipe(); @@ -1760,7 +1759,6 @@ version (Posix) @system unittest import std.file : tempDir, exists, remove, readText, write; import std.uuid : randomUUID; import std.exception : collectException; - auto pathi = buildPath(tempDir(), randomUUID().toString()); auto patho = buildPath(tempDir(), randomUUID().toString()); auto pathe = buildPath(tempDir(), randomUUID().toString());