Skip to content

Commit 573010f

Browse files
committed
Fix typo in preview0 / preview1.
1 parent 9ea0e75 commit 573010f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

legacy/preview0/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ If non-zero, an error that occurred while processing the subscription request.
913913
Offset: 8
914914

915915
- <a href="#event.type" name="event.type"></a> `type`: [`eventtype`](#eventtype)
916-
The type of event that occured
916+
The type of event that occurred
917917

918918
Offset: 10
919919

legacy/preview0/witx/typenames.witx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@
521521
(field $userdata $userdata)
522522
;;; If non-zero, an error that occurred while processing the subscription request.
523523
(field $error $errno)
524-
;;; The type of event that occured
524+
;;; The type of event that occurred
525525
(field $type $eventtype)
526526
;;; The contents of the event, if it is an `eventtype::fd_read` or
527527
;;; `eventtype::fd_write`. `eventtype::clock` events ignore this field.

legacy/preview1/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ <h3 id="struct-members">Struct members</h3>
410410
</li>
411411
<li>&lt;a href=&quot;#event.userdata&quot; name=&quot;event.userdata&quot;&gt;&lt;/a&gt; <code>userdata</code>: <a href="#userdata"><code>userdata</code></a><br>User-provided value that got attached to <a href="#subscription.userdata"><code>subscription::userdata</code></a>.<br>Offset: 0</li>
412412
<li>&lt;a href=&quot;#event.error&quot; name=&quot;event.error&quot;&gt;&lt;/a&gt; <code>error</code>: <a href="#errno"><code>errno</code></a><br>If non-zero, an error that occurred while processing the subscription request.<br>Offset: 8</li>
413-
<li>&lt;a href=&quot;#event.type&quot; name=&quot;event.type&quot;&gt;&lt;/a&gt; <code>type</code>: <a href="#eventtype"><code>eventtype</code></a><br>The type of event that occured<br>Offset: 10</li>
413+
<li>&lt;a href=&quot;#event.type&quot; name=&quot;event.type&quot;&gt;&lt;/a&gt; <code>type</code>: <a href="#eventtype"><code>eventtype</code></a><br>The type of event that occurred<br>Offset: 10</li>
414414
<li>&lt;a href=&quot;#event.fd_readwrite&quot; name=&quot;event.fd_readwrite&quot;&gt;&lt;/a&gt; <code>fd_readwrite</code>: <a href="#event_fd_readwrite"><code>event_fd_readwrite</code></a><br>The contents of the event, if it is an <a href="#eventtype.fd_read"><code>eventtype::fd_read</code></a> or<br><a href="#eventtype.fd_write"><code>eventtype::fd_write</code></a>. <a href="#eventtype.clock"><code>eventtype::clock</code></a> events ignore this field.<br>Offset: 16<h2 id="a-href-subclockflags-name-subclockflags-a-subclockflags-flags-u16-">&lt;a href=&quot;#subclockflags&quot; name=&quot;subclockflags&quot;&gt;&lt;/a&gt; <code>subclockflags</code>: Flags(<code>u16</code>)</h2>
415415
Flags determining how to interpret the timestamp provided in<br><a href="#subscription_clock.timeout"><code>subscription_clock::timeout</code></a>.<br>Size: 2<br>Alignment: 2<h3 id="flags">Flags</h3>
416416
</li>

legacy/preview1/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ If non-zero, an error that occurred while processing the subscription request.
936936
Offset: 8
937937

938938
- <a href="#event.type" name="event.type"></a> `type`: [`eventtype`](#eventtype)
939-
The type of event that occured
939+
The type of event that occurred
940940

941941
Offset: 10
942942

legacy/preview1/witx/typenames.witx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@
536536
(field $userdata $userdata)
537537
;;; If non-zero, an error that occurred while processing the subscription request.
538538
(field $error $errno)
539-
;;; The type of event that occured
539+
;;; The type of event that occurred
540540
(field $type $eventtype)
541541
;;; The contents of the event, if it is an `eventtype::fd_read` or
542542
;;; `eventtype::fd_write`. `eventtype::clock` events ignore this field.

0 commit comments

Comments
 (0)