mirror of
https://github.com/servo/servo.git
synced 2025-07-30 02:30:21 +01:00
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:
parent
7ca3dfb43f
commit
fd944f7765
1 changed files with 0 additions and 5 deletions
|
@ -112,11 +112,6 @@ pub struct Fragment {
|
||||||
pub debug_id: u16,
|
pub debug_id: u16,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(unsafe_code)]
|
|
||||||
unsafe impl Send for Fragment {}
|
|
||||||
#[allow(unsafe_code)]
|
|
||||||
unsafe impl Sync for Fragment {}
|
|
||||||
|
|
||||||
impl Encodable for Fragment {
|
impl Encodable for Fragment {
|
||||||
fn encode<S: Encoder>(&self, e: &mut S) -> Result<(), S::Error> {
|
fn encode<S: Encoder>(&self, e: &mut S) -> Result<(), S::Error> {
|
||||||
e.emit_struct("fragment", 0, |e| {
|
e.emit_struct("fragment", 0, |e| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue