Skip to content

Commit

Permalink
Enhance Comments in Lingua.swift Generated File for Better Clarity (#155
Browse files Browse the repository at this point in the history
)
  • Loading branch information
EgzonArifi authored Aug 15, 2023
1 parent fc24e71 commit 94fe8fe
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ private extension LocalizedSwiftCodeGenerator {

private extension String {
func commented() -> String {
components(separatedBy: "\n")
.map { "/// \($0)" }
.joined(separator: "\n\t\t")
"/// " + replacingOccurrences(of: "\n", with: "\\n")
}
}

0 comments on commit 94fe8fe

Please sign in to comment.