Remove the manual Send/Sync implementations for Fragment.

It was Send already, and ReplacedImageFragmentInfo::for_node was the only
member that wasn't Sync.
This commit is contained in:
Ms2ger 2015-07-08 10:52:34 +02:00
parent 7ca3dfb43f
commit fd944f7765

View file

@ -112,11 +112,6 @@ pub struct Fragment {
pub debug_id: u16,
}
#[allow(unsafe_code)]
unsafe impl Send for Fragment {}
#[allow(unsafe_code)]
unsafe impl Sync for Fragment {}
impl Encodable for Fragment {
fn encode<S: Encoder>(&self, e: &mut S) -> Result<(), S::Error> {
e.emit_struct("fragment", 0, |e| {