diff options
author | quantimnot <54247259+quantimnot@users.noreply.github.com> | 2022-05-30 05:07:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 11:07:47 +0200 |
commit | 497af2c0d9f311e050ba57842a6326ca70489d55 (patch) | |
tree | f9f2b62022c9ae30e990adfe4cd627c8cae620f1 /doc/intern.rst | |
parent | 004fc23a3fa79fc32e0fb5d4f438ddc22964b0da (diff) | |
download | Nim-497af2c0d9f311e050ba57842a6326ca70489d55.tar.gz |
Doc preferred import style in compiler (#19832)
Doc prefered import style in compiler Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
Diffstat (limited to 'doc/intern.rst')
-rw-r--r-- | doc/intern.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/intern.rst b/doc/intern.rst index a8846ae02..4ca7eff20 100644 --- a/doc/intern.rst +++ b/doc/intern.rst @@ -186,6 +186,7 @@ Coding Guidelines * Use a space after a colon, but not before it. * [deprecated] Start types with a capital `T`, unless they are pointers/references which start with `P`. +* Prefer `import package`:nim: over `from package import symbol`:nim:. See also the `API naming design <apis.html>`_ document. |