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 8ed6969f9..fd5b8a962 100644 --- a/runtime/ops/io.rs +++ b/runtime/ops/io.rs @@ -671,7 +671,7 @@ impl Resource for StdFileResource { #[op] pub fn op_print( state: &mut OpState, - msg: String, + msg: &str, is_err: bool, ) -> Result<(), AnyError> { let rid = if is_err { 2 } else { 1 }; |