Skip to content

Commit

Permalink
remove unneeded conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin committed Apr 24, 2024
1 parent 8c8da70 commit 2f622ce
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Sources/OpenAPIKit30/Callbacks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ extension OpenAPI.CallbackURL: LocallyDereferenceable {
}
}

extension OpenAPI.CallbackURL: ExternallyDereferenceable {
public func externallyDereferenced<Context: ExternalLoaderContext>(with loader: Context.Type) async throws -> (Self, OpenAPI.Components) {
return (self, .init())
}
}

// The following conformance is theoretically unnecessary but the compiler is
// only able to find the conformance if we explicitly declare it here, though
// it is apparently able to determine the conformance is already satisfied here
Expand Down

0 comments on commit 2f622ce

Please sign in to comment.