Skip to content

Commit fa2383a

Browse files
authored
io.util: use correct TempDirOptions parameter type name in temp_dir() (#25904)
1 parent aee3c13 commit fa2383a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/io/util/util.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn error_for_temporary_folder(fn_name string, d string) !string {
5151
}
5252

5353
// temp_dir returns a uniquely named, writable, directory path.
54-
pub fn temp_dir(tdo TempFileOptions) !string {
54+
pub fn temp_dir(tdo TempDirOptions) !string {
5555
mut d := tdo.path
5656
if d == '' {
5757
d = os.temp_dir()

0 commit comments

Comments
 (0)