diff --git a/docs/manual/src/internals/lifting_and_lowering.md b/docs/manual/src/internals/lifting_and_lowering.md index 4b3652bdb2..3c5a2dd526 100644 --- a/docs/manual/src/internals/lifting_and_lowering.md +++ b/docs/manual/src/internals/lifting_and_lowering.md @@ -61,7 +61,7 @@ Calling this function from foreign language code involves the following steps: | `string` | `RustBuffer` struct pointing to utf8 bytes | | `T?` | `RustBuffer` struct pointing to serialized bytes | | `sequence` | `RustBuffer` struct pointing to serialized bytes | -| `record` | `RustBuffer` struct pointing to serialized bytes | +| `record` | `RustBuffer` struct pointing to serialized bytes | | `enum` | `uint32_t` indicating variant, numbered in declaration order starting from 1 | | `dictionary` | `RustBuffer` struct pointing to serialized bytes | | `interface` | `uint64_t` opaque integer handle | @@ -83,7 +83,7 @@ The details of this format are internal only and may change between versions of | `string` | Serialized `i32` length followed by utf-8 string bytes; no trailing null | | `T?` | If null, serialized `boolean` false; if non-null, serialized `boolean` true followed by serialized `T` | | `sequence` | Serialized `i32` item count followed by serialized items; each item is a serialized `T` | -| `record` | Serialized `i32` item count followed by serialized items; each item is a serialized `string` followed by a serialized `T` | +| `record` | Serialized `i32` item count followed by serialized items; each item is a serialized `string` followed by a serialized `T` | | `enum` | Serialized `u32` indicating variant, numbered in declaration order starting from 1 | | `dictionary` | The serialized value of each field, in declaration order | | `interface` | *Cannot currently be serialized* | diff --git a/uniffi_bindgen/src/bindings/gecko_js/gen_gecko_js.rs b/uniffi_bindgen/src/bindings/gecko_js/gen_gecko_js.rs index 669adf1489..dbf2da9cc3 100644 --- a/uniffi_bindgen/src/bindings/gecko_js/gen_gecko_js.rs +++ b/uniffi_bindgen/src/bindings/gecko_js/gen_gecko_js.rs @@ -250,7 +250,7 @@ mod filters { /// * `Type::Optional` is called "nullable" in Firefox WebIDL. It's /// represented as `T?` in UDL and WebIDL. /// * `Type::Map` is called a "record" in Firefox WebIDL. It's represented - /// as `record` in UDL, and `record` in + /// as `record` in UDL, and `record` in /// WebIDL. /// /// There are also semantic differences: