Skip to content
Permalink
Browse files

nsstring: Make ns{,C}String Sync/Send.

Bug: 1454021
Reviewed-by: mystor
MozReview-Commit-ID: DeBOgxxTvBR
  • Loading branch information
bholley authored and emilio committed Apr 14, 2018
1 parent e4472f7 commit 156ef81878bad3b020aa382c1fa5e32bed39a04a
Showing with 3 additions and 0 deletions.
  1. +3 −0 support/gecko/nsstring/src/lib.rs
@@ -553,6 +553,9 @@ macro_rules! define_string_types {
hdr: $StringRepr,
}

unsafe impl Send for $String {}
unsafe impl Sync for $String {}

impl $String {
pub fn new() -> $String {
$String {

0 comments on commit 156ef81

Please sign in to comment.
You can’t perform that action at this time.