mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Fix clippy lint in net builtin
This commit is contained in:
parent
b8196d6284
commit
476125cc74
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ fn net_json_encode<'lua>(
|
|||
.serialize_to_string(lua, val)
|
||||
}
|
||||
|
||||
fn net_json_decode<'lua>(lua: &'lua Lua, json: BString) -> LuaResult<LuaValue<'lua>> {
|
||||
fn net_json_decode(lua: &Lua, json: BString) -> LuaResult<LuaValue> {
|
||||
EncodeDecodeConfig::from(EncodeDecodeFormat::Json).deserialize_from_string(lua, json)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue