Skip to content

Commit aea9057

Browse files
committed
small correction
1 parent e65ab10 commit aea9057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/File.roc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ is_sym_link! = |path_str|
216216

217217
## Returns true if the path exists on disk.
218218
##
219-
## This uses [rust's std::path::exists](https://doc.rust-lang.org/std/path/struct.Path.html#method.exists).
219+
## This uses [rust's std::path::try_exists](https://doc.rust-lang.org/std/path/struct.Path.html#method.try_exists).
220220
exists! : Str => Result Bool [PathErr IOErr]
221221
exists! = |path_str|
222222
Host.file_exists!(InternalPath.to_bytes(Path.from_str(path_str)))

0 commit comments

Comments
 (0)