summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAntonis Geralis <43617260+planetis-m@users.noreply.github.com>2023-06-08 15:07:40 +0300
committerGitHub <noreply@github.com>2023-06-08 14:07:40 +0200
commit750a33cbf160650f7143a8c26ed1588f620762b2 (patch)
tree9b07bbe932df106a6f58ae52d81c56d8c78302a1
parent64accd1c573937f523812b36cf072e147715b1c9 (diff)
downloadNim-750a33cbf160650f7143a8c26ed1588f620762b2.tar.gz
Fix indentation in destructors.md (#22048)
-rw-r--r--doc/destructors.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/destructors.md b/doc/destructors.md
index 9b7f32e7b..ddf581efb 100644
--- a/doc/destructors.md
+++ b/doc/destructors.md
@@ -57,7 +57,7 @@ written as:
     if b.data != nil:
       a.data = cast[typeof(a.data)](alloc(a.cap * sizeof(T)))
       for i in 0..<a.len:
-       a.data[i] = b.data[i]
+        a.data[i] = b.data[i]
 
   proc `=dup`*[T](a: myseq[T]): myseq[T] {.nodestroy.} =
     # an optimized version of `=wasMoved(tmp); `=copy(tmp, src)`