https://issues.dlang.org/show_bug.cgi?id=10930

RazvanN <razvan.nitu1...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1...@gmail.com

--- Comment #3 from RazvanN <razvan.nitu1...@gmail.com> ---
This should do the trick:

    auto arr = [ 1, 1, 1 ];
    arr = replace(arr, 1, 2);

    writeln(arr);

I suggest we close this.

--

Reply via email to