File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,14 @@ public class PartialKeyPath<Root>: AnyKeyPath { }
200
200
internal enum KeyPathKind { case readOnly, value, reference }
201
201
202
202
/// A key path from a specific root type to a specific resulting value type.
203
+ ///
204
+ /// The most common way to make an instance of this type
205
+ /// is by using a key-path expression like `\SomeClass.someProperty`.
206
+ /// For more information,
207
+ /// see [Key-Path Expressions[keypath] in *[The Swift Programming Language][tspl]*.
208
+ ///
209
+ /// [keypath]: https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#ID563
210
+ /// [tspl]: https://docs.swift.org/swift-book/
203
211
public class KeyPath < Root, Value> : PartialKeyPath < Root > {
204
212
@usableFromInline
205
213
internal final override class var _rootAndValueType : (
You can’t perform that action at this time.
0 commit comments