Skip to content

Commit 0ac65ed

Browse files
committed
Merge pull request #47 from codestergit/patch-3
Fixed Typos
2 parents b724866 + ed399ef commit 0ac65ed

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/LibraryEvolution.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ entity was first exposed publicly in the current module.
141141

142142
Using the same attribute for both publishing and using versioned APIs helps tie
143143
the feature together and enforces a consistent set of rules. The one difference
144-
is that code within a library may always use all other entites declared within
144+
is that code within a library may always use all other entities declared within
145145
the library (barring their own availability checks), since the entire library
146146
is shipped as a unit. That is, even if a particular API was introduced in v1.0,
147147
its (non-public) implementation may refer to APIs introduced in later versions.
@@ -207,7 +207,7 @@ Closed Enums
207207
By default, a library owner may add new cases to a public enum between releases
208208
without breaking binary compatibility. As with structs, this results in a fair
209209
amount of indirection when dealing with enum values, in order to potentially
210-
accomodate new values.
210+
accommodate new values.
211211

212212
.. note::
213213

@@ -216,7 +216,7 @@ accomodate new values.
216216
representation for the value, just as it may discard fields of structs that
217217
are provably never accessed.
218218

219-
A library owner may opt out of this flexiblity by marking the enum as
219+
A library owner may opt out of this flexibility by marking the enum as
220220
``@closed``. A "closed" enum may not have any ``private`` or ``internal`` cases
221221
and may not add new cases in the future. This guarantees to clients that the
222222
enum cases are exhaustive.
@@ -535,7 +535,7 @@ a normal dependency.
535535
A publicly inlineable function still has a public symbol, which may be used
536536
when the function is referenced from a client rather than called. This version
537537
of the function is not subject to the same restrictions as the version that
538-
may be inlined, and so it may be desireable to compile a function twice: once
538+
may be inlined, and so it may be desirable to compile a function twice: once
539539
for inlining, once for maximum performance.
540540

541541

@@ -647,7 +647,7 @@ for verification. Important cases include but are not limited to:
647647
- Unsafely-backdated "fragile" attributes as discussed in the `Giving Up
648648
Flexibility`_ section.
649649

650-
- Unsafe modifications to entites marked with the "fragile" attributes, such as
650+
- Unsafe modifications to entities marked with the "fragile" attributes, such as
651651
adding a stored property to a ``@fixed_layout`` struct.
652652

653653

0 commit comments

Comments
 (0)