commit | 791ce5d51839b777f095b5e4654706387a8bd87f | [log] [tgz] |
---|---|---|
author | Doug Gregor <dgregor@apple.com> | Sun Oct 01 17:34:58 2017 -0600 |
committer | Doug Gregor <dgregor@apple.com> | Sun Oct 01 17:34:58 2017 -0600 |
tree | 5077500682ad7bab7b6e5d545d51be04f9977eeb | |
parent | a28fc2bd564a763ba5448755bdbfb9f0d917564a [diff] |
Explicit specific element type of the DispatchData iterator. NFC
diff --git a/src/swift/Data.swift b/src/swift/Data.swift index 1e73504..5ad48aa 100644 --- a/src/swift/Data.swift +++ b/src/swift/Data.swift
@@ -318,6 +318,7 @@ } public struct DispatchDataIterator : IteratorProtocol, Sequence { + public typealias Element = UInt8 /// Create an iterator over the given DispatchData public init(_data: DispatchData) {