Skip to content

Commit 0c40d5a

Browse files
committed
fix(object_based_programming_techniques.md): correct typos
A correction based on Beliavsky's reading.[1] [1] #526 Signed-off-by: Norwid Behrnd <[email protected]>
1 parent 4378b9d commit 0c40d5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/learn/oop_features_in_fortran/object_based_programming_techniques.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ to be aware of:
151151
1. If all type components have the `private` attribute i.e., the type
152152
is **opaque** (not a Fortran term), it can only be used if the type
153153
declaration is accessed by host association (this is the same as for
154-
nonallocatable/nonpointer components);
155-
2. especially for container-like types, its semantics may be
156-
incompatible with the programmers intentions for how the objects
154+
nonallocatable/nonpointer components).
155+
2. Especially for container-like types, its semantics may be
156+
incompatible with the programmer's intentions for how the objects
157157
should be used.
158158

159159
Item 2 is illustrated by the above object setups, specifically:
@@ -479,7 +479,7 @@ case of polymorphic objects.
479479
### Implementing move semantics
480480

481481
Sometimes it may be necessary to make use of move instead of copy
482-
semantics i.e., create a copy of an object and then getting rid of the
482+
semantics i.e., create a copy of an object and then get rid of the
483483
original. The simplest way of doing this is to make use of allocatable
484484
(scalar or array) objects,
485485

0 commit comments

Comments
 (0)