Doc preferred import style in compiler (#19832)

Doc prefered import style in compiler

Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
This commit is contained in:
quantimnot 2022-05-30 05:07:47 -04:00 • committed by GitHub
commit 497af2c0d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,6 +186,7 @@ Coding Guidelines
* Use a space after a colon, but not before it. * Use a space after a colon, but not before it.
* [deprecated] Start types with a capital `T`, unless they are * [deprecated] Start types with a capital `T`, unless they are
pointers/references which start with `P`. 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. See also the `API naming design <apis.html>`_ document.