mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
renderer/metal: zig fmt
This commit is contained in:
@ -149,8 +149,8 @@ pub fn Buffer(comptime T: type) type {
|
|||||||
|
|
||||||
for (lists) |list| {
|
for (lists) |list| {
|
||||||
const ptr = @as([*]const u8, @ptrCast(list.items.ptr));
|
const ptr = @as([*]const u8, @ptrCast(list.items.ptr));
|
||||||
@memcpy(dst[i..][0..list.items.len*@sizeOf(T)], ptr);
|
@memcpy(dst[i..][0 .. list.items.len * @sizeOf(T)], ptr);
|
||||||
i += list.items.len*@sizeOf(T);
|
i += list.items.len * @sizeOf(T);
|
||||||
}
|
}
|
||||||
|
|
||||||
return total_len;
|
return total_len;
|
||||||
|
Reference in New Issue
Block a user