public T trimTrailingSpaces() {
        return trimTrailingSpaces(true);
    }
Enables the trimming of trailing spaces on a line.

@return Returns self.
smithy-utils/src/main/java/software/amazon/smithy/utils/AbstractCodeWriter.java