Make std.array.insertInPlace @safe for some cases
Merge pull request #1430 from tom-tan/safe-array-insertInPlace

Make std.array.insertInPlace @safe for some cases