Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fkollmann committed Feb 17, 2024
1 parent 9d59dbd commit 5535926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/zsocket.zig
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ pub const ZSocket = struct {
/// var frame = try socket.receive();
/// defer frame.deinit();
///
/// const data = frame.data();
/// const data = try frame.data();
pub fn receive(self: *ZSocket) !zframe.ZFrame {
var frame = c.zframe_recv(self.socket);
if (frame == null) {
Expand Down

0 comments on commit 5535926

Please sign in to comment.