Skip to content

Commit f51f39b

Browse files
Robert Gummessonrayfix
authored andcommitted
adding a let as required by the Swift 3 compiler (kodecocodes#236)
1 parent 41b175b commit f51f39b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ var subview: UIView?
568568
var volume: Double?
569569

570570
// later on...
571-
if let subview = subview, volume = volume {
571+
if let subview = subview, let volume = volume {
572572
// do something with unwrapped subview and volume
573573
}
574574
```

0 commit comments

Comments
 (0)