diff options
Diffstat (limited to 'runtime/ops/io.rs')
-rw-r--r-- | runtime/ops/io.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/io.rs b/runtime/ops/io.rs index d8a1af69e..646a540bc 100644 --- a/runtime/ops/io.rs +++ b/runtime/ops/io.rs @@ -670,7 +670,7 @@ impl Resource for StdFileResource { #[op] pub fn op_print( state: &mut OpState, - msg: &str, + msg: String, is_err: bool, ) -> Result<(), AnyError> { let rid = if is_err { 2 } else { 1 }; |