commit 5c8587723a3df319a0f690bb564af5b1ba4f7ab0
parent 253de91a99e2cd4535a3bf2ed7c9d92e2329e7bb
Author: Sebastian <sebastian@sebsite.pw>
Date: Sun, 1 May 2022 23:34:27 -0400
path: fix typo in dirname docs
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/path/names.ha b/path/names.ha
@@ -10,7 +10,7 @@ use strings;
// this returns the path to its parent directory. If the path consists solely of
// the target's path separator, a string to the path is returned unmodified. If
// the path is empty, "." is returned. The return value is either borrowed from
-// the input or statically allocated); use [[strings::dup]] to extend its
+// the input or statically allocated; use [[strings::dup]] to extend its
// lifetime or modify it.
export fn dirname(path: (str | *buffer)) const str = {
let path = getstring(path);