mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-02 14:28:18 +00:00
bulk code format fix (#8707)
This commit is contained in:
@@ -14,12 +14,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if canImport(Common)
|
||||
import Common
|
||||
#endif
|
||||
|
||||
import Foundation
|
||||
|
||||
#if canImport(Common)
|
||||
import Common
|
||||
#endif
|
||||
|
||||
/// Enum is a protocol that all flatbuffers enums should conform to
|
||||
/// Since it allows us to get the actual `ByteSize` and `Value` from
|
||||
/// a swift enum.
|
||||
@@ -44,8 +44,8 @@ extension Enum where Self: Verifiable {
|
||||
public static func verify<T>(
|
||||
_ verifier: inout Verifier,
|
||||
at position: Int,
|
||||
of type: T.Type) throws where T: Verifiable
|
||||
{
|
||||
of type: T.Type
|
||||
) throws where T: Verifiable {
|
||||
try verifier.inBuffer(position: position, of: type.self)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user