mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-17 04:52:47 +00:00
terminal: search.Thread more boilerplate, test starting
This commit is contained in:
@@ -73,7 +73,7 @@ pub fn BlockingQueue(
|
||||
not_full_waiters: usize = 0,
|
||||
|
||||
/// Allocate the blocking queue on the heap.
|
||||
pub fn create(alloc: Allocator) !*Self {
|
||||
pub fn create(alloc: Allocator) Allocator.Error!*Self {
|
||||
const ptr = try alloc.create(Self);
|
||||
errdefer alloc.destroy(ptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user