fix: typo inside docs/upb/design.md and docs/design/editions/edition-zero-features.md (#14385)

Multiple typos has been fixed.
- docs/upb/design.md -> line no 291: changed 'newMessageAccesor' to 'newMessageAccessor '
- docs/design/editions/edition-zero-features.md -> line no 149: changed 'implict' to 'implicit'

Closes #14385

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/14385 from parikshitadhikari:patch d9bf9f91be
PiperOrigin-RevId: 573315890
pull/14396/head
Parikshit Adhikari 1 year ago committed by Copybara-Service
parent 41c686368d
commit 47a84cdde8
  1. 2
      docs/design/editions/edition-zero-features.md
  2. 2
      docs/upb/design.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

@ -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

Loading…
Cancel
Save