Skip to content

Commit a56eb84

Browse files
authored
Rename filename to path in WASI EventLoop#open (#16636)
1 parent 5a0b4a6 commit a56eb84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crystal/event_loop/wasi.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Crystal::EventLoop::Wasi < Crystal::EventLoop
4343
raise NotImplementedError.new("Crystal::EventLoop::Wasi#pipe")
4444
end
4545

46-
def open(filename : String, flags : Int32, permissions : File::Permissions, blocking : Bool?) : {System::FileDescriptor::Handle, Bool} | Errno | WinError
46+
def open(path : String, flags : Int32, permissions : File::Permissions, blocking : Bool?) : {System::FileDescriptor::Handle, Bool} | Errno | WinError
4747
raise NotImplementedError.new("Crystal::Wasi::EventLoop#open")
4848
end
4949

0 commit comments

Comments
 (0)