Skip to content

Commit 3be76ed

Browse files
hvitvedCopilot
andauthored
Update rust/ql/lib/codeql/rust/internal/PathResolution.qll
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bdb0113 commit 3be76ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/rust/internal/PathResolution.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private ItemNode getAChildSuccessor(ItemNode item, string name, SuccessorKind ki
137137
not result instanceof NamedItemNode
138138
or
139139
// In valid Rust code, there cannot be multiple children with the same name and namespace,
140-
// but to safe-guard against combinatorial explosions in invalid code, we always pick the
140+
// but to safeguard against combinatorial explosions in invalid code, we always pick the
141141
// last child
142142
exists(Namespace ns |
143143
result =

0 commit comments

Comments
 (0)