Skip to content

Commit

Permalink
Delete dead code. (#279)
Browse files Browse the repository at this point in the history
No-one calls this function so we can remove it.
  • Loading branch information
Lukasa authored Feb 17, 2021
1 parent 6ed44fd commit f4736a3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Sources/NIOHPACK/HPACKHeader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -474,14 +474,6 @@ internal extension Character {
}
}

/* private but inlinable */
internal extension String {
@inlinable
func trimASCIIWhitespace() -> Substring {
return self.dropFirst(0)._trimWhitespace()
}
}

extension Substring {
@inlinable
func _trimWhitespace() -> Substring {
Expand Down

0 comments on commit f4736a3

Please sign in to comment.