diff --git a/docs/design/editions/edition-zero-features.md b/docs/design/editions/edition-zero-features.md index 655a59b3cf..f43f173b1a 100644 --- a/docs/design/editions/edition-zero-features.md +++ b/docs/design/editions/edition-zero-features.md @@ -146,7 +146,7 @@ We also make some semantic changes: * `proto3_optional` is rejected as a parse error (use the feature instead). Migrating from proto2/3 involves deleting all `optional`/`required` labels and -adding `IMPLICT` and `LEGACY_REQUIURED` annotations where necessary. +adding `IMPLICIT` and `LEGACY_REQUIURED` annotations where necessary. #### Alternatives diff --git a/docs/upb/design.md b/docs/upb/design.md index a46364af02..1192e6ccab 100644 --- a/docs/upb/design.md +++ b/docs/upb/design.md @@ -288,7 +288,7 @@ Dart for a message with only primitive fields currently looks something like: _accessor = $pb.instance.registry.newMessageAccessor(desc); ``` -The implementation of `newMessageAccesor()` is mainly just a wrapper around +The implementation of `newMessageAccessor()` is mainly just a wrapper around `upb_MiniTable_Build()`, which builds a MiniTable from a MiniDescriptor. In the code generator, the MiniDescriptor can be obtained from the `upb_MessageDef_MiniDescriptorEncode()` API; users should never need to encode a