From 01057b6176d65aa08cf54b6a83d061238d3348a8 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Wed, 17 Jan 2024 16:24:18 +0800 Subject: [PATCH] fix build and clippy Signed-off-by: Bugen Zhao --- src/common/src/system_param/reader.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/src/system_param/reader.rs b/src/common/src/system_param/reader.rs index ec280f8bb05b1..c6b8d8c5af6aa 100644 --- a/src/common/src/system_param/reader.rs +++ b/src/common/src/system_param/reader.rs @@ -71,7 +71,7 @@ where } pub fn to_kv(&self) -> Vec<(String, String)> { - system_params_to_kv(&self.inner()).unwrap() + system_params_to_kv(self.inner()).unwrap() } fn inner(&self) -> &PbSystemParams { @@ -144,7 +144,7 @@ where } fn wasm_storage_url(&self) -> &str { - self.prost + self.inner() .wasm_storage_url .as_ref() .unwrap_or(&default::WASM_STORAGE_URL)