aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-07-08 10:52:34 +0200
committerMs2ger <ms2ger@gmail.com>2015-07-08 10:52:34 +0200
commitfd944f7765098a43f977ed00f4160aacc692d257 (patch)
tree3c094ef96461e689cf7351e8b254b744e7353ad5
parent7ca3dfb43f458d86a244b501409a4d88a768bbb2 (diff)
downloadservo-fd944f7765098a43f977ed00f4160aacc692d257.tar.gz
servo-fd944f7765098a43f977ed00f4160aacc692d257.zip
Remove the manual Send/Sync implementations for Fragment.
It was Send already, and ReplacedImageFragmentInfo::for_node was the only member that wasn't Sync.
-rw-r--r--components/layout/fragment.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs
index d4e3c6148fe..b2326c51efa 100644
--- a/components/layout/fragment.rs
+++ b/components/layout/fragment.rs
@@ -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| {