mirror of
https://github.com/fairyglade/ly.git
synced 2026-06-22 07:22:00 +00:00
Replace ArrayListUnmanaged with ArrayList
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -6,7 +6,7 @@ const TerminalBuffer = @import("../TerminalBuffer.zig");
|
||||
const Position = @import("../Position.zig");
|
||||
const Widget = @import("../Widget.zig");
|
||||
|
||||
const DynamicString = std.ArrayListUnmanaged(u8);
|
||||
const DynamicString = std.ArrayList(u8);
|
||||
|
||||
const Text = @This();
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ const Position = @import("../Position.zig");
|
||||
pub fn CyclableLabel(comptime ItemType: type, comptime ChangeItemType: type) type {
|
||||
return struct {
|
||||
const Allocator = std.mem.Allocator;
|
||||
const ItemList = std.ArrayListUnmanaged(ItemType);
|
||||
const ItemList = std.ArrayList(ItemType);
|
||||
const DrawItemFn = *const fn (*Self, ItemType, usize, usize, usize) void;
|
||||
const ChangeItemFn = *const fn (ItemType, ?ChangeItemType) void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user