commit 4a1d8af71d1dabc6a523f57533e6a03f6c44c65d
parent 785c857f6c81597d19186388ab923faf26f97ff7
Author: Umar Getagazov <umar@handlerug.me>
Date: Fri, 25 Mar 2022 20:35:53 +0700
net::uri: fix documentation reference
Signed-off-by: Umar Getagazov <umar@handlerug.me>
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/net/uri/parse.ha b/net/uri/parse.ha
@@ -1,3 +1,6 @@
+// License: MPL-2.0
+// (c) 2022 Alexey Yerin <yyp@disroot.org>
+// (c) 2022 Umar Getagazov <umar@handlerug.me>
use ascii;
use io;
use net::ip;
@@ -9,7 +12,7 @@ use strio;
export type invalid = !void;
// Parses a URI string into [[uri]] structure. The return value must be freed
-// using [[uri_finish]].
+// using [[finish]].
export fn parse(in: str) (uri | invalid) = {
let in = strings::iter(in);