Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Jan 4, 2025
1 parent 690a2e0 commit 10f1b10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/netpoll/defs_poller_epoll.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const (
WriteEvents = unix.EPOLLOUT
// ReadWriteEvents represents both readable and writeable events.
ReadWriteEvents = ReadEvents | WriteEvents
// ErrEvents represents exceptional events that occurred on the local side.
// ErrEvents represents exceptional events that occurred.
ErrEvents = unix.EPOLLERR | unix.EPOLLHUP
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/netpoll/defs_poller_kqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const (
WriteEvents = unix.EVFILT_WRITE
// ReadWriteEvents represents both readable and writeable events.
ReadWriteEvents = ReadEvents | WriteEvents
// ErrEvents represents exceptional events that occurred on the local side.
// ErrEvents represents exceptional events that occurred.
ErrEvents = unix.EV_EOF | unix.EV_ERROR
)

Expand Down

0 comments on commit 10f1b10

Please sign in to comment.