summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-12-18 17:06:04 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-12-24 17:33:27 +0100
commit2616a86d4b65ae6f761721c29c8ebaf8cf5fcfff (patch)
tree88cb51fc59617a5a858bc58eb4a79c8a8b156f03 /doc
parenta0980c88c934dcbefb17099ca68f0d775aef44cd (diff)
downloadNim-2616a86d4b65ae6f761721c29c8ebaf8cf5fcfff.tar.gz
docs: tiny style improvements
Diffstat (limited to 'doc')
-rw-r--r--doc/contributing.rst1
-rw-r--r--doc/manual.rst4
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/contributing.rst b/doc/contributing.rst
index ff623d8cf..e927683d0 100644
--- a/doc/contributing.rst
+++ b/doc/contributing.rst
@@ -252,6 +252,7 @@ the imperative (command) form. That is, between:
   proc hello*(): string =
     ## Return "hello"
     result = "hello"
+
 or
 
 .. code-block:: nim
diff --git a/doc/manual.rst b/doc/manual.rst
index bce51e3fd..114a88a76 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -4140,7 +4140,7 @@ A custom exception is a custom type:
 .. code-block:: nim
   type
     LoadError* = object of Exception
-  
+
 Ending the custom exception's name with ``Error`` is recommended.
 
 Custom exceptions can be raised like any others, e.g.:
@@ -6504,7 +6504,7 @@ alignment requirement of the type are ignored.
 
    type
      sseType = object
-       sseData {.align(16).}: array[4,float32]
+       sseData {.align(16).}: array[4, float32]
 
      # every object will be aligned to 128-byte boundary
      Data = object