diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-07-08 10:52:34 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-07-08 10:52:34 +0200 |
commit | fd944f7765098a43f977ed00f4160aacc692d257 (patch) | |
tree | 3c094ef96461e689cf7351e8b254b744e7353ad5 | |
parent | 7ca3dfb43f458d86a244b501409a4d88a768bbb2 (diff) | |
download | servo-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.rs | 5 |
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| { |