mirror of https://github.com/SnapKit/SnapKit
Remove unneeded closure ornamentation
This commit is contained in:
parent
6ca3393fa6
commit
b61982d0f9
|
@ -17,7 +17,7 @@ class MyViewController: UIViewController {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
|
|
||||||
self.view.addSubview(box)
|
self.view.addSubview(box)
|
||||||
box.snp_makeConstraints { (make) -> Void in
|
box.snp_makeConstraints { make in
|
||||||
make.width.height.equalTo(50)
|
make.width.height.equalTo(50)
|
||||||
make.center.equalTo(self.view)
|
make.center.equalTo(self.view)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue