Skip to content

Commit bec6faf

Browse files
committed
---
yaml --- r: 349410 b: refs/heads/master-next c: ebd20ad h: refs/heads/master
1 parent 9a4e12c commit bec6faf

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3-
refs/heads/master-next: 0dc3c0e8bba19dd5897677dfeb83859817ec905e
3+
refs/heads/master-next: ebd20ad5c3ac1096a90571822831a5b3edfde447
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/stdlib/public/core/DictionaryBridging.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ final internal class _SwiftDeferredNSDictionary<Key: Hashable, Value>
313313
let bridgedKeys = bridgeKeys()
314314
let bridgedValues = bridgeValues()
315315
var i = 0 // Current position in the output buffers
316-
let bucketCount = native._storage._bucketCount
317316

318317
defer { _fixLifetime(self) }
319318

branches/master-next/stdlib/public/core/KeyPath.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ public class ReferenceWritableKeyPath<
357357
internal final func _projectMutableAddress(from origBase: Root)
358358
-> (pointer: UnsafeMutablePointer<Value>, owner: AnyObject?) {
359359
var keepAlive: AnyObject?
360-
var address: UnsafeMutablePointer<Value> = withBuffer {
360+
let address: UnsafeMutablePointer<Value> = withBuffer {
361361
var buffer = $0
362362
// Project out the reference prefix.
363363
var base: Any = origBase

branches/master-next/stdlib/public/core/Sort.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ extension MutableCollection where Self: RandomAccessCollection {
246246
public mutating func sort(
247247
by areInIncreasingOrder: (Element, Element) throws -> Bool
248248
) rethrows {
249-
let didSortUnsafeBuffer = try _withUnsafeMutableBufferPointerIfSupported {
250-
buffer -> Void? in
249+
let didSortUnsafeBuffer: Void? = try _withUnsafeMutableBufferPointerIfSupported {
250+
buffer -> Void in
251251
try buffer._stableSortImpl(by: areInIncreasingOrder)
252252
}
253253
if didSortUnsafeBuffer == nil {

0 commit comments

Comments
 (0)