const std = @import("std");
const mem = std.mem;
const assert = std.debug.assert;
test "string" {
var str = "hello";
var replacement = "rr";
str[2..4].ptr.* = replacement[0];
(str[2..4].ptr + 1).* = replacement[1];
assert(mem.eql(u8, str, "herro"));
}