Skip to content

Commit c0e12bf

Browse files
committed
Fix typos in public headers [ci skip]
1 parent 4b4d52e commit c0e12bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/ruby/internal/intern/select/win32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ rb_fd_dup(rb_fdset_t *dst, const rb_fdset_t *src)
206206
* property we heavily touch the internals of MSVCRT. We `CreateFile` a
207207
* `"NUL"` alongside of a socket and directly manipulate its `struct ioinfo`.
208208
* This is of course a very dirty hack. If we could design the API today we
209-
* could use `CancellIoEx`. But we are older than that Win32 API.
209+
* could use `CancelIoEx`. But we are older than that Win32 API.
210210
*/
211211
static inline int
212212
rb_fd_select(int n, rb_fdset_t *rfds, rb_fdset_t *wfds, rb_fdset_t *efds, struct timeval *timeout)

include/ruby/internal/symbol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ VALUE rb_id2str(ID id);
203203

204204
/**
205205
* Obtain a frozen string representation of a symbol (not including the leading
206-
* colon). Done without any object allcoations.
206+
* colon). Done without any object allocations.
207207
*
208208
* @param[in] symbol A ::rb_cSymbol instance to query.
209209
* @return A frozen instance of ::rb_cString with the name of `symbol`.

0 commit comments

Comments
 (0)