| ... | @@ -274,11 +274,10 @@ test "basic linked list test" { | ... | @@ -274,11 +274,10 @@ test "basic linked list test" { |
| 274 | assert (list.len == 2); | 274 | assert (list.len == 2); |
| 275 | } | 275 | } |
| 276 | | 276 | |
| 277 | const link = "link"; | 277 | const ElementList = IntrusiveLinkedList(Element, "link"); |
| 278 | const ElementList = IntrusiveLinkedList(Element, link); | | |
| 279 | const Element = struct { | 278 | const Element = struct { |
| 280 | value: u32, | 279 | value: u32, |
| 281 | link: IntrusiveLinkedList(Element, link).Node, | 280 | link: IntrusiveLinkedList(Element, "link").Node, |
| 282 | }; | 281 | }; |
| 283 | | 282 | |
| 284 | test "basic intrusive linked list test" { | 283 | test "basic intrusive linked list test" { |