Closed Bug 1530438 Opened 6 years ago Closed 6 years ago

The rust `nsString` type should implement `Clone`

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(1 file)

Currently it doesn't implement clone. The nsAString and nsAutoString types don't need to implement clone (as generally you don't want to or should not copy them directly), but the nsString type itself should definitely be clone()-able.

Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/959aa87abd32 Implement Clone for the rust nsString bindings, r=froydnj
Blocks: 1482608
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: