Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Does owned make the variable copy on write? - Modular
M
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
Modular
Join
This server is the home of the MAX and Mojo community! Join us to chat about all things Modular.
20,199
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Owned convention does not destroy variable after transferring ownership
M
Modular / questions
3y ago
Confusion with owned integers
M
Modular / questions
3y ago
Global variable support?
M
Modular / questions
2y ago
Printing the type of a variable in Mojo
M
Modular / questions
3y ago