Skip to content

Commit 27d22b6

Browse files
committed
Replace all ~ calls with ! in stdlib/.
1 parent 4415011 commit 27d22b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/FileWatching/src/FileWatching.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,11 +380,11 @@ function wait(fdw::_FDWatcher; readable=true, writable=true)
380380
events |= FDEvent(fdw.events)
381381
haveevent = false
382382
if readable && isreadable(events)
383-
fdw.events &= ~UV_READABLE
383+
fdw.events &= !UV_READABLE
384384
haveevent = true
385385
end
386386
if writable && iswritable(events)
387-
fdw.events &= ~UV_WRITABLE
387+
fdw.events &= !UV_WRITABLE
388388
haveevent = true
389389
end
390390
if haveevent

0 commit comments

Comments
 (0)