diff --git a/legacy/preview0/docs.md b/legacy/preview0/docs.md index 7603446c..bfa2ea9a 100644 --- a/legacy/preview0/docs.md +++ b/legacy/preview0/docs.md @@ -913,7 +913,7 @@ If non-zero, an error that occurred while processing the subscription request. Offset: 8 - `type`: [`eventtype`](#eventtype) -The type of event that occured +The type of event that occurred Offset: 10 diff --git a/legacy/preview0/witx/typenames.witx b/legacy/preview0/witx/typenames.witx index 6c44961d..0d277426 100644 --- a/legacy/preview0/witx/typenames.witx +++ b/legacy/preview0/witx/typenames.witx @@ -521,7 +521,7 @@ (field $userdata $userdata) ;;; If non-zero, an error that occurred while processing the subscription request. (field $error $errno) - ;;; The type of event that occured + ;;; The type of event that occurred (field $type $eventtype) ;;; The contents of the event, if it is an `eventtype::fd_read` or ;;; `eventtype::fd_write`. `eventtype::clock` events ignore this field. diff --git a/legacy/preview1/docs.html b/legacy/preview1/docs.html index 73528db3..2aa41a20 100644 --- a/legacy/preview1/docs.html +++ b/legacy/preview1/docs.html @@ -410,7 +410,8 @@

Struct members

  • <a href="#event.userdata" name="event.userdata"></a> userdata: userdata
    User-provided value that got attached to subscription::userdata.
    Offset: 0
  • <a href="#event.error" name="event.error"></a> error: errno
    If non-zero, an error that occurred while processing the subscription request.
    Offset: 8
  • -
  • <a href="#event.type" name="event.type"></a> type: eventtype
    The type of event that occured
    Offset: 10
  • +
  • <a href="#event.type" +name="event.type"></a> type: eventtype
    The type of event that occurred
    Offset: 10
  • <a href="#event.fd_readwrite" name="event.fd_readwrite"></a> fd_readwrite: event_fd_readwrite
    The contents of the event, if it is an eventtype::fd_read or
    eventtype::fd_write. eventtype::clock events ignore this field.
    Offset: 16

    <a href="#subclockflags" name="subclockflags"></a> subclockflags: Flags(u16)

    Flags determining how to interpret the timestamp provided in
    subscription_clock::timeout.
    Size: 2
    Alignment: 2

    Flags

  • diff --git a/legacy/preview1/docs.md b/legacy/preview1/docs.md index 43062f36..f39cedf6 100644 --- a/legacy/preview1/docs.md +++ b/legacy/preview1/docs.md @@ -936,7 +936,7 @@ If non-zero, an error that occurred while processing the subscription request. Offset: 8 - `type`: [`eventtype`](#eventtype) -The type of event that occured +The type of event that occurred Offset: 10 diff --git a/legacy/preview1/witx/typenames.witx b/legacy/preview1/witx/typenames.witx index 89c62542..6545c98b 100644 --- a/legacy/preview1/witx/typenames.witx +++ b/legacy/preview1/witx/typenames.witx @@ -536,7 +536,7 @@ (field $userdata $userdata) ;;; If non-zero, an error that occurred while processing the subscription request. (field $error $errno) - ;;; The type of event that occured + ;;; The type of event that occurred (field $type $eventtype) ;;; The contents of the event, if it is an `eventtype::fd_read` or ;;; `eventtype::fd_write`. `eventtype::clock` events ignore this field.