Skip to content

Commit

Permalink
refactor: removed unneeded code
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 8d02a57ab9ec4232967dae043a766590bd49e47d66b81fc7740b47ae6a1abfa6
  • Loading branch information
thindil committed Nov 4, 2024
1 parent 24721cb commit cb49116
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -183,16 +183,6 @@ type

# Procedures related to Path type

proc `$`*(path: Path): string {.sideEffect, raises: [], tags: [],
contractual.} =
## Convert Path type to string.
##
## * path - the path variable which will be converted to string
##
## The parameter path converted to a string
body:
return path.string

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

0 comments on commit cb49116

Please sign in to comment.