don't touch the refcount in putLine

This commit is contained in:
Folkert 2021-08-26 23:35:15 +02:00
parent 84b5f0c91e
commit 03c21add77

View file

@ -136,5 +136,8 @@ pub fn roc_fx_putLine(line: RocStr) -> () {
let string = unsafe { std::str::from_utf8_unchecked(bytes) };
println!("{}", string);
// don't mess with the refcount!
core::mem::forget(line);
()
}