-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support RustString
's + operator
#224
Comments
RustString
's + operator functionRustString
's + operator
Whether or not we should support I think that it's fair to expect folks to understand that adding two strings allocates, since that's what happens when you add strings in Rust. So, this sounds good to me. I think we'd want to support |
Something like:
Right now, we need to call
toString
from eachcreate_string()
and then can useString
's + operator, like so:But, I guess that it is inefficient to call
toString
corresponding to eachcreate_string
.The text was updated successfully, but these errors were encountered: