You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+38-7Lines changed: 38 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,18 +99,49 @@ node["key"] = value
99
99
node["key"]
100
100
```
101
101
102
-
-`Node` is an immutable type. However, you can easily create a copy with one or more field values changed by using the `Node(::Node; kw...)` constructor where `kw` are the fields you want to change. For example:
102
+
-`Node` is an immutable type. However, you can easily create a simple copy using `copy(::Node)` or
103
+
copy with one or more changes by using the `Node(::Node, atts...; kw...)` constructor where `atts`
104
+
are new children to add and `kw` are the node attributes you want to add or change. For example:
0 commit comments