Skip to content

Commit

Permalink
Update Message+BinaryAdditions.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
rebello95 committed Oct 26, 2023
1 parent eb7488f commit 36b05a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftProtobuf/Message+BinaryAdditions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extension Message {
/// message.
/// - Throws: `BinaryEncodingError` if encoding fails.
public func serializedData(partial: Bool = false) throws -> Data {
try serializedData(partial: partial, options: BinaryEncodingOptions())
return try serializedData(partial: partial, options: BinaryEncodingOptions())
}

/// Returns a `Data` value containing the Protocol Buffer binary format
Expand Down

0 comments on commit 36b05a7

Please sign in to comment.