Closed Bug 1316964 Opened 4 years ago Closed 4 years ago

Make the append and assign methods on the rust nsstring types more generic

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: nika, Assigned: nika)

Details

Attachments

(1 file)

This is done by making them accept a `&T` where `T: AsRef<[$char_t]>` instead of a `&nsA[C]String`.
MozReview-Commit-ID: 5y30BnUDKsT
Attachment #8809943 - Flags: review?(nfroyd)
Attachment #8809943 - Flags: review?(nfroyd) → review+
Pushed by michael@thelayzells.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e5c8e3d23cf2
Make the append and assign methods on the rust nsstring types more generic, r=froydnj
https://hg.mozilla.org/mozilla-central/rev/e5c8e3d23cf2
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.