Skip to content

Commit

Permalink
Graph
Browse files Browse the repository at this point in the history
- Typo fix
  • Loading branch information
deavmi committed May 4, 2024
1 parent b83cadc commit 6b91fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/niknaks/containers.d
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ public class Graph(T)
public E[] opSlice(E)()
if(isGraphNodeType!(E) || isGraphValueType!(E))
{
// If the children as tree nodes is requested
// If the children as graph nodes is requested
static if(isGraphNodeType!(E))
{
return this.children;
Expand Down Expand Up @@ -897,7 +897,7 @@ public class Graph(T)
public E opIndex(E)(size_t idx)
if(isGraphNodeType!(E) || isGraphValueType!(E))
{
// If the child as a tree node is requested
// If the child as a graph node is requested
static if(isGraphNodeType!(E))
{
return this.children[idx];
Expand Down

0 comments on commit 6b91fb0

Please sign in to comment.