diff options
author | Antonis Geralis <43617260+planetis-m@users.noreply.github.com> | 2023-06-08 15:07:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 14:07:40 +0200 |
commit | 750a33cbf160650f7143a8c26ed1588f620762b2 (patch) | |
tree | 9b07bbe932df106a6f58ae52d81c56d8c78302a1 | |
parent | 64accd1c573937f523812b36cf072e147715b1c9 (diff) | |
download | Nim-750a33cbf160650f7143a8c26ed1588f620762b2.tar.gz |
Fix indentation in destructors.md (#22048)
-rw-r--r-- | doc/destructors.md | 2 |
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)` |