run `fmt` over code

pull/12916/head
Anton Zavodchikov 2021-12-21 09:18:16 +05:00
parent e7e98b9180
commit 7fc3112c74
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ fn parse_middleware(args []MethodArgs, attrs []string) ?string {
for arg in args {
// ast.string_type_idx = 20
if arg.typ != 20 {
return error("middleware arguments should be string type, `$arg.name` does not meet that rule")
return error('middleware arguments should be string type, `$arg.name` does not meet that rule')
}
}

View File

@ -558,8 +558,8 @@ fn handle_conn<T>(mut conn net.TcpConn, mut app T, routes map[string]Route, midd
}
struct Firable_middleware {
method string
params []string
method string
params []string
path_len int
}