Skip to content

Commit 955ac31

Browse files
committed
Remove Unnecessary Return
1 parent 743b5da commit 955ac31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CodeEditTextView/TextLine/TextLine.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public final class TextLine: Identifiable, Equatable {
3131
/// - Returns: True, if this line has been marked as needing layout using ``TextLine/setNeedsLayout()`` or if the
3232
/// line needs to find new line breaks due to a new constraining width.
3333
func needsLayout(maxWidth: CGFloat) -> Bool {
34-
return needsLayout // Force layout
34+
needsLayout // Force layout
3535
|| (
3636
// Both max widths we're comparing are finite
3737
maxWidth.isFinite

0 commit comments

Comments
 (0)