mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
langref: Fix example for Generic Data Structures
This commit is contained in:
parent
60d411184e
commit
c2659e0371
@ -7430,12 +7430,12 @@ const Node = struct {
|
||||
|
||||
var node_a = Node{
|
||||
.next = null,
|
||||
.name = &"Node A",
|
||||
.name = "Node A",
|
||||
};
|
||||
|
||||
var node_b = Node{
|
||||
.next = &node_a,
|
||||
.name = &"Node B",
|
||||
.name = "Node B",
|
||||
};
|
||||
{#code_end#}
|
||||
<p>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user