Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Commit suggestions

Co-authored-by: Ilya Puchka <[email protected]>
  • Loading branch information
djbe and ilyapuchka authored May 27, 2020
1 parent a52d2e2 commit 8e327cf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/TrimBehavior.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public struct TrimBehavior: Equatable {

static func leadingRegex(trim: Trim) -> NSRegularExpression {
switch trim {

case .none:
fatalError("No RegularExpression for none")
case .whitespace:
Expand All @@ -55,7 +54,6 @@ public struct TrimBehavior: Equatable {

static func trailingRegex(trim: Trim) -> NSRegularExpression {
switch trim {

case .none:
fatalError("No RegularExpression for none")
case .whitespace:
Expand All @@ -82,5 +80,3 @@ public struct TrimBehavior: Equatable {
}

}


0 comments on commit 8e327cf

Please sign in to comment.