From acb40e2f0fc218734490f69e3c8252aecc78965f Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Fri, 12 Jan 2024 19:49:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E5=86=B3=E5=AE=9A=E5=BC=80=E6=91=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v2/src/data_struct.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/v2/src/data_struct.rs b/v2/src/data_struct.rs index a0e677c..e774906 100644 --- a/v2/src/data_struct.rs +++ b/v2/src/data_struct.rs @@ -217,9 +217,8 @@ impl<'value> Value<'value> { 9 => { // 好好好, list 嵌套 list 是吧 let mut list = Vec::with_capacity(length as usize); - let mut data = data; for _ in 0..length { - let inner_list = Self::read_list(&mut data); + let inner_list = Self::read_list(data); } Self::List(ListContent::ListList(list)) }