Skip to content

Commit

Permalink
Replace all ~ calls with ! in stdlib/.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacha0 committed Jan 8, 2018
1 parent 3051528 commit 712063e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/FileWatching/src/FileWatching.jl
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,11 @@ function wait(fdw::_FDWatcher; readable=true, writable=true)
events |= FDEvent(fdw.events)
haveevent = false
if readable && isreadable(events)
fdw.events &= ~UV_READABLE
fdw.events &= !UV_READABLE
haveevent = true
end
if writable && iswritable(events)
fdw.events &= ~UV_WRITABLE
fdw.events &= !UV_WRITABLE
haveevent = true
end
if haveevent
Expand Down

0 comments on commit 712063e

Please sign in to comment.