Skip to content

Commit 9b1e353

Browse files
19118605381911860538
andauthored
refactor(tree): replace string(/) with "/" in node.insertChild (#4354)
Co-authored-by: 1911860538 <[email protected]>
1 parent f9bd00a commit 9b1e353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ func (n *node) insertChild(path string, fullPath string, handlers HandlersChain)
383383
}
384384

385385
n.addChild(child)
386-
n.indices = string('/')
386+
n.indices = "/"
387387
n = child
388388
n.priority++
389389

0 commit comments

Comments
 (0)