mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: change 'if !(a in b)' to 'if a !in b' (#11330)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user