Remove #[serde(bound = "")] attributes

These were fixed in serde_codegen 0.8.0 by serde-rs/serde#456.
This commit is contained in:
David Tolnay 2016-08-12 14:05:25 -07:00
parent 9abe9e450b
commit 8e924c9858
3 changed files with 0 additions and 3 deletions

View file

@ -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),

View file

@ -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>),

View file

@ -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),