diff --git a/std/algorithm/setops.d b/std/algorithm/setops.d index 0d855925e..016d93104 100644 --- a/std/algorithm/setops.d +++ b/std/algorithm/setops.d @@ -1298,8 +1298,8 @@ See_Also: auto setUnion(alias less = "a < b", Rs...) (Rs rs) { - import std.algorithm.iteration: uniq; - import std.algorithm.sorting: merge; + import std.algorithm.iteration : uniq; + import std.algorithm.sorting : merge; return merge!(less, Rs)(rs).uniq; } @@ -1330,7 +1330,7 @@ auto setUnion(alias less = "a < b", Rs...) @safe unittest { // save - import std.range: dropOne; + import std.range : dropOne; int[] a = [0, 1, 2]; int[] b = [0, 3]; auto arr = a.setUnion(b); @@ -1353,7 +1353,7 @@ auto setUnion(alias less = "a < b", Rs...) { import std.algorithm.comparison : equal; import std.internal.test.dummyrange; - import std.range: iota; + import std.range : iota; auto dummyResult1 = [1, 1.5, 2, 3, 4, 5, 5.5, 6, 7, 8, 9, 10]; auto dummyResult2 = iota(1, 11); diff --git a/std/algorithm/sorting.d b/std/algorithm/sorting.d index 4b8458545..95375bc72 100644 --- a/std/algorithm/sorting.d +++ b/std/algorithm/sorting.d @@ -1216,7 +1216,7 @@ Merge!(less, Rs) merge(alias less = "a < b", Rs...) @safe pure nothrow unittest { // save - import std.range: dropOne; + import std.range : dropOne; int[] a = [1, 2]; int[] b = [0, 3]; auto arr = a.merge(b); diff --git a/std/experimental/allocator/building_blocks/free_tree.d b/std/experimental/allocator/building_blocks/free_tree.d index 3e17a5163..aa5d01500 100644 --- a/std/experimental/allocator/building_blocks/free_tree.d +++ b/std/experimental/allocator/building_blocks/free_tree.d @@ -416,8 +416,8 @@ unittest unittest // issue 16506 { - import std.experimental.allocator.gc_allocator: GCAllocator; - import std.experimental.allocator.mallocator: Mallocator; + import std.experimental.allocator.gc_allocator : GCAllocator; + import std.experimental.allocator.mallocator : Mallocator; static void f(ParentAllocator)(size_t sz) { diff --git a/std/typecons.d b/std/typecons.d index 809f85cc5..8764754a5 100644 --- a/std/typecons.d +++ b/std/typecons.d @@ -843,7 +843,7 @@ template Tuple(Specs...) if (is(typeof(translate) : V[K], V, K) && isSomeString!V && (isSomeString!K || is(K : size_t))) { - import std.range: ElementType; + import std.range : ElementType; static if (isSomeString!(ElementType!(typeof(translate.keys)))) { {