Add commas to docs for clarity (#18398)
This commit is contained in:
parent
36d24846b6
commit
afe5eb569b
2 changed files with 3 additions and 3 deletions
|
|
@ -79,7 +79,7 @@ to introduce new object roots apart from `system.RootObj`. (This is used
|
||||||
in the GTK wrapper for instance.)
|
in the GTK wrapper for instance.)
|
||||||
|
|
||||||
Ref objects should be used whenever inheritance is used. It isn't strictly
|
Ref objects should be used whenever inheritance is used. It isn't strictly
|
||||||
necessary, but with non-ref objects assignments such as `let person: Person =
|
necessary, but with non-ref objects, assignments such as `let person: Person =
|
||||||
Student(id: 123)` will truncate subclass fields.
|
Student(id: 123)` will truncate subclass fields.
|
||||||
|
|
||||||
**Note**: Composition (*has-a* relation) is often preferable to inheritance
|
**Note**: Composition (*has-a* relation) is often preferable to inheritance
|
||||||
|
|
|
||||||
|
|
@ -61,8 +61,8 @@
|
||||||
## callback on this future which will be called once the future completes.
|
## callback on this future which will be called once the future completes.
|
||||||
## All the callback does is write the data stored in the future to `stdout`.
|
## All the callback does is write the data stored in the future to `stdout`.
|
||||||
## The `read` function is used for this and it checks whether the future
|
## The `read` function is used for this and it checks whether the future
|
||||||
## completes with an error for you (if it did it will simply raise the
|
## completes with an error for you (if it did, it will simply raise the
|
||||||
## error), if there is no error however it returns the value of the future.
|
## error), if there is no error, however, it returns the value of the future.
|
||||||
##
|
##
|
||||||
## Asynchronous procedures
|
## Asynchronous procedures
|
||||||
## =======================
|
## =======================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue