Skip to content

Commit

Permalink
Add Sendable to GzipError
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Jun 13, 2023
1 parent 13f43ce commit e7880d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Gzip/Data+Gzip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ public struct CompressionLevel: RawRepresentable {


/// Errors on gzipping/gunzipping based on the zlib error codes.
public struct GzipError: Swift.Error {
public struct GzipError: Swift.Error, Sendable {
// cf. http://www.zlib.net/manual.html

public enum Kind: Equatable {
public enum Kind: Equatable, Sendable {
/// The stream structure was inconsistent.
///
/// - underlying zlib error: `Z_STREAM_ERROR` (-2)
Expand Down

0 comments on commit e7880d7

Please sign in to comment.