Skip to content

Commit

Permalink
fix build and clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Jan 17, 2024
1 parent d6f3248 commit 01057b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/src/system_param/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 01057b6

Please sign in to comment.