diff options
author | bptato <nincsnevem662@gmail.com> | 2024-12-12 20:32:00 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-12-12 20:32:00 +0100 |
commit | 5e4f5d6a1341c62fed07988ce05ee827097a294c (patch) | |
tree | 88cf717100383d8d6d78542fce0f7c7b68f5ffe5 /src | |
parent | 8428f0cb34147e32b4b77ee9af06f77b92c82fa5 (diff) | |
download | chawan-5e4f5d6a1341c62fed07988ce05ee827097a294c.tar.gz |
url: remove dead code
Diffstat (limited to 'src')
-rw-r--r-- | src/types/url.nim | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/types/url.nim b/src/types/url.nim index 4550f6d7..305b84eb 100644 --- a/src/types/url.nim +++ b/src/types/url.nim @@ -1006,11 +1006,6 @@ func serialize*(url: URL; excludeHash = false; excludePassword = false): if not excludeHash: result &= url.hash -func serialize*(url: Option[URL]): string = - if url.isNone: - return "" - return url.get.serialize() - func equals*(a, b: URL; excludeHash = false): bool = return a.serialize(excludeHash) == b.serialize(excludeHash) |