Skip to content

Commit

Permalink
Tendril is not really Sync. Fix #24
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Jun 29, 2017
1 parent 7063c7e commit 7ce4ff2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tendril.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ pub struct Tendril<F, A = NonAtomic>
}

unsafe impl<F, A> Send for Tendril<F, A> where F: fmt::Format, A: Atomicity + Sync { }
unsafe impl<F, A> Sync for Tendril<F, A> where F: fmt::Format, A: Atomicity + Sync { }

/// `Tendril` for storing native Rust strings.
pub type StrTendril = Tendril<fmt::UTF8>;
Expand Down

0 comments on commit 7ce4ff2

Please sign in to comment.