Skip to content

Commit 5aaabfd

Browse files
committed
Fix spelling of DynamicCastResult
1 parent 14df4d1 commit 5aaabfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/DynamicCast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ tryCastToAnyHashable(
759759
srcValue, /*emptyCases=*/1);
760760
auto nonNil = (sourceEnumCase == 0);
761761
if (nonNil) {
762-
return DynamicCast::Failure; // Our caller will unwrap the optional and try again
762+
return DynamicCastResult::Failure; // Our caller will unwrap the optional and try again
763763
}
764764
// If it is nil, fall through to the general case to just wrap the nil
765765
}

0 commit comments

Comments
 (0)