mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove #[serde(bound = "")] attributes
These were fixed in serde_codegen 0.8.0 by serde-rs/serde#456.
This commit is contained in:
parent
9abe9e450b
commit
8e924c9858
3 changed files with 0 additions and 3 deletions
|
@ -74,7 +74,6 @@ pub enum FromLayoutMsg {
|
|||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Serialize)]
|
||||
#[serde(bound = "")] // Prevent serde from generating cyclic bounds.
|
||||
pub enum Canvas2dMsg {
|
||||
Arc(Point2D<f32>, f32, f32, f32, bool),
|
||||
ArcTo(Point2D<f32>, Point2D<f32>, f32),
|
||||
|
|
|
@ -791,7 +791,6 @@ impl fmt::Debug for StackingContext {
|
|||
|
||||
/// One drawing command in the list.
|
||||
#[derive(Clone, Deserialize, HeapSizeOf, Serialize)]
|
||||
#[serde(bound = "")] // Prevent serde from generating cyclic bounds.
|
||||
pub enum DisplayItem {
|
||||
SolidColorClass(Box<SolidColorDisplayItem>),
|
||||
TextClass(Box<TextDisplayItem>),
|
||||
|
|
|
@ -59,7 +59,6 @@ pub enum LogEntry {
|
|||
|
||||
/// Messages from the script to the constellation.
|
||||
#[derive(Deserialize, Serialize)]
|
||||
#[serde(bound = "")] // Prevent serde from generating cyclic bounds.
|
||||
pub enum ScriptMsg {
|
||||
/// Indicates whether this pipeline is currently running animations.
|
||||
ChangeRunningAnimationsState(PipelineId, AnimationState),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue