mirror of
https://github.com/zigzap/zap.git
synced 2025-10-21 07:34:08 +00:00
fix returned struct field
This commit is contained in:
parent
22d454d134
commit
6611269721
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ pub const Mustache = struct {
|
||||||
const ret = fiobj_mustache_new(args);
|
const ret = fiobj_mustache_new(args);
|
||||||
switch (err) {
|
switch (err) {
|
||||||
0 => return Self{
|
0 => return Self{
|
||||||
.handler = ret.?,
|
.handle = ret.?,
|
||||||
},
|
},
|
||||||
1 => return Error.MUSTACHE_ERR_TOO_DEEP,
|
1 => return Error.MUSTACHE_ERR_TOO_DEEP,
|
||||||
2 => return Error.MUSTACHE_ERR_CLOSURE_MISMATCH,
|
2 => return Error.MUSTACHE_ERR_CLOSURE_MISMATCH,
|
||||||
|
|
Loading…
Add table
Reference in a new issue