Skip to content

Commit

Permalink
Improve documentation of std.array.insertInPlace
Browse files Browse the repository at this point in the history
  • Loading branch information
BradleyChatha committed Jul 18, 2016
1 parent 6cbaa94 commit aa7385b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions std/array.d
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,10 @@ private void copyBackwards(T)(T[] src, T[] dest)
Inserts $(D stuff) (which must be an input range or any number of
implicitly convertible items) in $(D array) at position $(D pos).
Params:
array = The array that $(D stuff) will be inserted into.
pos = The position in $(D array) to insert the $(D stuff).
stuff = An input range, or any number of implicitly convertible items to insert into $(D array).
+/
void insertInPlace(T, U...)(ref T[] array, size_t pos, U stuff)
if (!isSomeString!(T[])
Expand Down

0 comments on commit aa7385b

Please sign in to comment.