Skip to content

Commit 802e07f

Browse files
authored
Merge pull request #459 from hamishknight/438-5.7
2 parents 2c7669e + 5ac2d62 commit 802e07f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/_StringProcessing/Compiler.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ func _compileRegex(
4444
}
4545

4646
// An error produced when compiling a regular expression.
47-
public enum RegexCompilationError: Error, CustomStringConvertible {
47+
enum RegexCompilationError: Error, CustomStringConvertible {
4848
// TODO: Source location?
4949
case uncapturedReference
5050

51-
public var description: String {
51+
var description: String {
5252
switch self {
5353
case .uncapturedReference:
5454
return "Found a reference used before it captured any match."

0 commit comments

Comments
 (0)