mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: change 'if !(a in b)' to 'if a !in b' (#11330)
This commit is contained in:
parent
118c5fdcd8
commit
8be2be8311
5 changed files with 5 additions and 5 deletions
|
@ -96,7 +96,7 @@ fn (mut ctx CancelContext) cancel(remove_from_parent bool, err IError) {
|
|||
}
|
||||
|
||||
ctx.mutex.@lock()
|
||||
if !(ctx.err is none) {
|
||||
if ctx.err !is none {
|
||||
ctx.mutex.unlock()
|
||||
// already canceled
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue