mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
Simplify intrusive linked list test
This commit is contained in:
parent
6288ad865c
commit
152b408934
@ -274,11 +274,10 @@ test "basic linked list test" {
|
||||
assert (list.len == 2);
|
||||
}
|
||||
|
||||
const link = "link";
|
||||
const ElementList = IntrusiveLinkedList(Element, link);
|
||||
const ElementList = IntrusiveLinkedList(Element, "link");
|
||||
const Element = struct {
|
||||
value: u32,
|
||||
link: IntrusiveLinkedList(Element, link).Node,
|
||||
link: IntrusiveLinkedList(Element, "link").Node,
|
||||
};
|
||||
|
||||
test "basic intrusive linked list test" {
|
||||
|
Loading…
Reference in New Issue
Block a user