Skip to content

Commit 58f2091

Browse files
committed
Fix a typo in variable name
1 parent 9fa3c5a commit 58f2091

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/kotlin/org/rust/lang/core/resolve/NameResolution.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,12 @@ fun processPathResolveVariants(path: RsPath, isCompletion: Boolean, processor: R
192192
return false
193193
}
194194

195-
val containigMod = path.containingMod
195+
val containingMod = path.containingMod
196196
val crateRoot = path.crateRoot
197197
if (!path.hasColonColon) {
198-
if (Namespace.Types in ns && containigMod != null) {
199-
if (processor("self", containigMod)) return true
200-
val superMod = containigMod.`super`
198+
if (Namespace.Types in ns && containingMod != null) {
199+
if (processor("self", containingMod)) return true
200+
val superMod = containingMod.`super`
201201
if (superMod != null) {
202202
if (processor("super", superMod)) return true
203203
}

0 commit comments

Comments
 (0)