mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: use a !in b instead of !(a in b)
This commit is contained in:
@@ -293,7 +293,7 @@ fn handle_conn<T>(conn net.Socket, app mut T) {
|
||||
}
|
||||
|
||||
fn (ctx mut Context) parse_form(s string) {
|
||||
if !(ctx.req.method in methods_with_form) {
|
||||
if ctx.req.method !in methods_with_form {
|
||||
return
|
||||
}
|
||||
//pos := s.index('\r\n\r\n')
|
||||
|
||||
Reference in New Issue
Block a user