mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-07 12:24:19 +00:00
Removed echos from uri module.
This commit is contained in:
@@ -16,7 +16,6 @@ proc `/`*(a, b: TUrl): TUrl =
|
||||
## Joins two URLs together, separating them with / if needed.
|
||||
var urlS = $a
|
||||
var bS = $b
|
||||
echo(urlS, " & ", bS)
|
||||
if urlS == "": return b
|
||||
if urlS[urlS.len-1] != '/':
|
||||
urlS.add('/')
|
||||
@@ -25,7 +24,6 @@ proc `/`*(a, b: TUrl): TUrl =
|
||||
else:
|
||||
urlS.add(bs)
|
||||
result = TUrl(urlS)
|
||||
echo(result)
|
||||
|
||||
proc add*(url: var TUrl, a: TUrl) =
|
||||
## Appends url to url.
|
||||
|
||||
Reference in New Issue
Block a user