Skip to content

Commit 5f0fa60

Browse files
authored
docs(device): fix typo in device grabbing function call
1 parent 751ac23 commit 5f0fa60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/device.d.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function Device:grab() end
150150
---```lua
151151
---local Device = evdev.device.open
152152
---local dev = assert(Device("/dev/input/eventX"))
153-
---assert(dev:grap())
153+
---assert(dev:grab())
154154
---assert(dev:ungrab())
155155
---```
156156
---

0 commit comments

Comments
 (0)