mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-21 08:21:32 +00:00
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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user