summary refs log tree commit diff stats
path: root/lib/packages
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2019-09-27 06:02:54 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-09-27 07:02:54 +0200
commit39290cf88c5047e86dc4894e3190c63d5985f56f (patch)
treef37c9e0a5491fb9b11266ce08bddc297b57f37fc /lib/packages
parent9dd297f613768bb170e05dcaf361015d9448c582 (diff)
downloadNim-39290cf88c5047e86dc4894e3190c63d5985f56f.tar.gz
Fix spellings (#12277) [backport]
Diffstat (limited to 'lib/packages')
-rw-r--r--lib/packages/docutils/rstgen.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/packages/docutils/rstgen.nim b/lib/packages/docutils/rstgen.nim
index c5cee9c90..b75ff3ea1 100644
--- a/lib/packages/docutils/rstgen.nim
+++ b/lib/packages/docutils/rstgen.nim
@@ -101,7 +101,7 @@ proc initRstGenerator*(g: var RstGenerator, target: OutputTarget,
   ## index hyperlinks to the file, but you can pass an empty string here if you
   ## are parsing a stream in memory. If `filename` ends with the ``.nim``
   ## extension, the title for the document will be set by default to ``Module
-  ## filename``.  This default title can be overriden by the embedded rst, but
+  ## filename``.  This default title can be overridden by the embedded rst, but
   ## it helps to prettify the generated index if no title is found.
   ##
   ## The ``RstParseOptions``, ``FindFileHandler`` and ``MsgHandler`` types
@@ -350,7 +350,7 @@ proc hash(n: PRstNode): int =
 proc renderIndexTerm*(d: PDoc, n: PRstNode, result: var string) =
   ## Renders the string decorated within \`foobar\`\:idx\: markers.
   ##
-  ## Additionally adds the encosed text to the index as a term. Since we are
+  ## Additionally adds the enclosed text to the index as a term. Since we are
   ## interested in different instances of the same term to have different
   ## entries, a table is used to keep track of the amount of times a term has
   ## previously appeared to give a different identifier value for each.