Skip to content

Commit 6648516

Browse files
committed
Remove byPair example because we have aa.dup now
1 parent e51f664 commit 6648516

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

std/array.d

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -604,16 +604,6 @@ if (isInputRange!Range)
604604
assert(b == ["foo":"bar", "baz":"quux"]);
605605
}
606606

607-
/** Duplicate an AA - see $(LREF byPair).
608-
*/
609-
@safe pure nothrow unittest
610-
{
611-
auto aa = [0:"a", 1:"b", 2:"c"];
612-
auto bb = assocArray(aa.byPair());
613-
assert(aa == bb);
614-
assert(aa !is bb);
615-
}
616-
617607
/**
618608
Creates an associative array from a range of keys and a range of values.
619609

0 commit comments

Comments
 (0)