Skip to content

Commit

Permalink
Fix cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lassemoldrup committed May 21, 2024
1 parent 19987c4 commit 9cf2385
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contract-testing/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2060,7 +2060,9 @@ pub fn module_load_v1(module_path: impl AsRef<Path>) -> Result<WasmModule, Modul
Ok(module)
}

/// Load the current smart contract module output using the environment variable `CARGO_CONCORDIUM_TEST_MODULE_OUTPUT_PATH` which is set when running using `cargo concordium test`.
/// Load the current smart contract module output using the environment variable
/// `CARGO_CONCORDIUM_TEST_MODULE_OUTPUT_PATH` which is set when running using
/// `cargo concordium test`.
pub fn module_load_output() -> Result<WasmModule, OutputModuleLoadError> {
let module_path = env::var(CONTRACT_MODULE_OUTPUT_PATH_ENV_VAR)?;
let module = module_load_v1(module_path)?;
Expand Down

0 comments on commit 9cf2385

Please sign in to comment.