Skip to content

Commit 958170f

Browse files
committed
Fix usage
1 parent 898ef58 commit 958170f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ parent = %Catelog{
117117
name: "Top",
118118
path: ""
119119
}
120-
catelog = Catelog.build_child_of(parent, %{name: "Top.Science"}
120+
catelog = Catelog.build_child_of(parent, %{name: "Top.Science"})
121121
# %Catelog{
122122
# id: nil,
123123
# name: "Top.Science",
124-
# path: "a9ae8f40-b016-4bf9-8224-e2755466e699.570526aa-e2f3-49a7-870a-c150d3bf6ac9"
124+
# path: "570526aa-e2f3-49a7-870a-c150d3bf6ac9"
125125
# }
126126
```
127127

@@ -133,7 +133,7 @@ catelog = %Catelog{
133133
name: "Top",
134134
path: ""
135135
}
136-
Catelog.is_root?(catelog) # false
136+
Catelog.is_root?(catelog) # true
137137
```
138138

139139
### `parent/1`

0 commit comments

Comments
 (0)