diff --git a/prototype/Doubt/Doc.swift b/prototype/Doubt/Doc.swift index b6377dede..82e52440e 100644 --- a/prototype/Doubt/Doc.swift +++ b/prototype/Doubt/Doc.swift @@ -44,9 +44,7 @@ public enum Doc: CustomStringConvertible, Equatable { } public static func better(width: Int, _ placed: Int, _ x: Doc, _ y: Doc) -> Doc { - return x.fits(width - placed) - ? x - : y + return x.fits(width - placed) ? x : y } }