Skip to content

Commit

Permalink
remove redundant conformance constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
SusanDoggie committed Jan 25, 2019
1 parent ef7f4e4 commit fec9bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/DoggieTests/LayoutTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class LayoutTest: XCTestCase {

}

func _testLayout<T: _FloatComponentPixel>(_: T.Type) -> Bool where T.Scalar : BinaryFloatingPoint {
func _testLayout<T: _FloatComponentPixel>(_: T.Type) -> Bool {

guard MemoryLayout<T>.size == MemoryLayout<T.Scalar>.stride * T.numberOfComponents else { return false }
guard MemoryLayout<T>.stride == MemoryLayout<T.Scalar>.stride * T.numberOfComponents else { return false }
Expand Down

0 comments on commit fec9bbb

Please sign in to comment.