ModularM
Modular•3y ago•
2 replies
Yeison Rodriguez

Does owned make the variable copy on write?

Does the owned specifier make the copy copy on write?

fn set_fire(owned text: String) -> String:
text += "🔥"
return text
Was this page helpful?