Skip to content

Commit c69b7f4

Browse files
authored
Merge pull request #23275 from mikeash/class-rename-comments-arent-documentation
2 parents efe1716 + 48f9ac9 commit c69b7f4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

stdlib/public/core/KeyPath.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ internal func _abstract(
2626

2727
// MARK: Type-erased abstract base classes
2828

29-
// A type-erased key path, from any root type to any resulting value
30-
// type. NOTE: older runtimes had Swift.AnyKeyPath as the ObjC name.
29+
// NOTE: older runtimes had Swift.AnyKeyPath as the ObjC name.
3130
// The two must coexist, so it was renamed. The old name must not be
3231
// used in the new runtime. _TtCs11_AnyKeyPath is the mangled name for
3332
// Swift._AnyKeyPath.
3433
@_objcRuntimeName(_TtCs11_AnyKeyPath)
34+
35+
/// A type-erased key path, from any root type to any resulting value
36+
/// type.
3537
public class AnyKeyPath: Hashable, _AppendKeyPath {
3638
/// The root type for this key path.
3739
@inlinable

0 commit comments

Comments
 (0)