diff --git a/src/inspect.rs b/src/inspect.rs index 7a28552..429fe2f 100644 --- a/src/inspect.rs +++ b/src/inspect.rs @@ -555,7 +555,7 @@ pub fn handle_inspect_snapshot_inner( let mut authorizer = read_snapshot_from(&snapshot_from)?; let snapshot_description = SnapshotDescription { - code: authorizer.dump_code(), + code: authorizer.to_string(), iterations: authorizer.iterations(), elapsed_micros: authorizer.execution_time().as_micros(), };