diff --git a/canister_templates/stable.wasm b/canister_templates/stable.wasm index 9eb3cc6d49..b973ed191a 100644 Binary files a/canister_templates/stable.wasm and b/canister_templates/stable.wasm differ diff --git a/src/build/stable/commands/compile/wasm_binary/rust/stable_canister_template/src/execute_method_js.rs b/src/build/stable/commands/compile/wasm_binary/rust/stable_canister_template/src/execute_method_js.rs index e64dc0bbc8..335a60b59a 100644 --- a/src/build/stable/commands/compile/wasm_binary/rust/stable_canister_template/src/execute_method_js.rs +++ b/src/build/stable/commands/compile/wasm_binary/rust/stable_canister_template/src/execute_method_js.rs @@ -45,7 +45,7 @@ fn execute_method_js_with_result( let record_benchmarks = WASM_DATA_REF_CELL .with(|wasm_data_ref_cell| wasm_data_ref_cell.borrow().clone()) .as_ref() - .ok_or("could not convert wasm_data_ref_cell to ref")? + .ok_or("Could not convert wasm_data_ref_cell to ref")? .record_benchmarks; if record_benchmarks { diff --git a/src/build/stable/commands/compile/wasm_binary/rust/stable_canister_template/src/ic/stable_b_tree_map_is_empty.rs b/src/build/stable/commands/compile/wasm_binary/rust/stable_canister_template/src/ic/stable_b_tree_map_is_empty.rs index 9ac5558b1e..188698b844 100644 --- a/src/build/stable/commands/compile/wasm_binary/rust/stable_canister_template/src/ic/stable_b_tree_map_is_empty.rs +++ b/src/build/stable/commands/compile/wasm_binary/rust/stable_canister_template/src/ic/stable_b_tree_map_is_empty.rs @@ -13,7 +13,7 @@ pub fn get_function(ctx: Ctx) -> Result { .get(&memory_id) .ok_or(throw_error( ctx.clone(), - &format!("could not find StableBTreeMap {memory_id}"), + &format!("Could not find StableBTreeMap {memory_id}"), ))? .is_empty()) })