From c94c8576846918235697fe79d1c64876cd4dc735 Mon Sep 17 00:00:00 2001 From: Brett Bauman Date: Thu, 28 Jul 2022 18:51:48 -0700 Subject: [PATCH] =?UTF-8?q?make=20protocol=20public=20=F0=9F=A4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/PascalCaseKit/PascalCaseRepresentable.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/PascalCaseKit/PascalCaseRepresentable.swift b/Sources/PascalCaseKit/PascalCaseRepresentable.swift index 6aec28f..c8ecaa0 100644 --- a/Sources/PascalCaseKit/PascalCaseRepresentable.swift +++ b/Sources/PascalCaseKit/PascalCaseRepresentable.swift @@ -1,8 +1,8 @@ /// A `RawRepresentable` type that outputs a `rawValue` in Pascal Case format when `RawValue` /// is of type `String`. -protocol PascalCaseRepresentable: RawRepresentable { } +public protocol PascalCaseRepresentable: RawRepresentable { } -extension PascalCaseRepresentable where Self.RawValue == String { +public extension PascalCaseRepresentable where Self.RawValue == String { var rawValue: RawValue { let value = String(describing: self)