Skip to content

Commit

Permalink
docs: moved info about procedures to proper location
Browse files Browse the repository at this point in the history
FossilOrigin-Name: a4c38d675aa768ab5d13f650fc460c7beea83bffbeaea8c92f6361968a9d1108
  • Loading branch information
thindil committed Feb 8, 2024
1 parent fc5680d commit 893daff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ type
varType*: VariableValType
description*: string

# Procedures related to Path type

proc `$`*(path: Path): string {.sideEffect, raises: [], tags: [],
contractual.} =
## Convert Path type to string.
Expand All @@ -152,8 +154,6 @@ proc `$`*(path: Path): string {.sideEffect, raises: [], tags: [],
body:
return path.string

# Procedures related to Path type

proc len*(path: Path): Natural {.sideEffect, raises: [], tags: [],
contractual.} =
## Get the length of the path variable
Expand Down

0 comments on commit 893daff

Please sign in to comment.