Skip to content

Commit

Permalink
src,stream: improve WriteString
Browse files Browse the repository at this point in the history
Update comment
  • Loading branch information
ywave620 committed Dec 18, 2023
1 parent 11ea094 commit 9887917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class StreamResource {
// `*bufs` and `*count` accordingly. This is a no-op by default.
// Return 0 for success and a libuv error code for failures.
virtual int DoTryWrite(uv_buf_t** bufs, size_t* count);
// Indicates whether this subclass override the DoTryWrite
// Indicates whether this subclass overrides the DoTryWrite
virtual inline bool HasDoTryWrite() const { return false; }
// Initiate a write of data.
// Upon an immediate failure, a libuv error code is returned,
Expand Down

0 comments on commit 9887917

Please sign in to comment.