summary refs log tree commit diff stats
path: root/doc/tut2.rst
diff options
context:
space:
mode:
authorElliot Waite <elliot@elliotwaite.com>2021-06-29 19:21:30 -0700
committerGitHub <noreply@github.com>2021-06-29 19:21:30 -0700
commitafe5eb569b36ed310f6f93a33ae52274a6dce02e (patch)
treea77662d182f1f7c837f5ece9735c50faa57be8bf /doc/tut2.rst
parent36d24846b6685a44ff2185a823cdcb0f3bc236d3 (diff)
downloadNim-afe5eb569b36ed310f6f93a33ae52274a6dce02e.tar.gz
Add commas to docs for clarity (#18398)
Diffstat (limited to 'doc/tut2.rst')
-rw-r--r--doc/tut2.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tut2.rst b/doc/tut2.rst
index 2624b2690..725f68dd5 100644
--- a/doc/tut2.rst
+++ b/doc/tut2.rst
@@ -79,7 +79,7 @@ to introduce new object roots apart from `system.RootObj`. (This is used
 in the GTK wrapper for instance.)
 
 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.
 
 **Note**: Composition (*has-a* relation) is often preferable to inheritance