Skip to content

Commit

Permalink
Merge pull request #805 from nkristek/optionalprotocol_expressiblebyn…
Browse files Browse the repository at this point in the history
…illiteral
  • Loading branch information
Marcocanc committed Oct 22, 2020
2 parents 06f6347 + 7140b2e commit c9b8fa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,5 +1,6 @@
# master
*Please add new entries at the top.*
1. Add `ExpressibleByNilLiteral` constraint to `OptionalProtocol` (#805, kudos to @nkristek)

# 6.4.0
1. Bump min. deployment target to iOS 9 when using swift packages to silence Xcode 12 warnings. Update Quick & Nibmle to the latest version when using swift packages.
Expand Down
4 changes: 2 additions & 2 deletions Sources/Optional.swift
Expand Up @@ -7,8 +7,8 @@
//

/// An optional protocol for use in type constraints.
public protocol OptionalProtocol {
/// The type contained in the otpional.
public protocol OptionalProtocol: ExpressibleByNilLiteral {
/// The type contained in the optional.
associatedtype Wrapped

init(reconstructing value: Wrapped?)
Expand Down

0 comments on commit c9b8fa5

Please sign in to comment.