Skip to content

Commit cc708f8

Browse files
committed
Make an abstract one sentence long.
Fixes <rdar://problem/70543419>.
1 parent 9180e6a commit cc708f8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

stdlib/public/core/Dictionary.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -831,9 +831,8 @@ extension Dictionary: ExpressibleByDictionaryLiteral {
831831
}
832832

833833
extension Dictionary {
834-
/// Accesses the value with the given key. If the dictionary doesn't contain
835-
/// the given key, accesses the provided default value as if the key and
836-
/// default value existed in the dictionary.
834+
/// Accesses the value with the given key, falling back to the given default
835+
/// value if the key isn't found.
837836
///
838837
/// Use this subscript when you want either the value for a particular key
839838
/// or, when that key is not present in the dictionary, a default value. This

0 commit comments

Comments
 (0)