Skip to content

Commit

Permalink
servo: Merge #12834 - Remove #[serde(bound = "")] attributes (from dt…
Browse files Browse the repository at this point in the history
…olnay:bound); r=nox

These were fixed in serde_codegen 0.8.0 by serde-rs/serde#456.

cc nox

- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because: the generated code continues to compile

Source-Repo: https://github.com/servo/servo
Source-Revision: 11b853fbf1916fb71b49fefbf2ebeaccaec50ee2

UltraBlame original commit: 14f16d3626e039515989bb5b69d38f0403b822c7
  • Loading branch information
marco-c committed Oct 1, 2019
1 parent 88357ac commit 6c61da9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion servo/components/canvas_traits/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ pub enum FromLayoutMsg {
}

#[derive(Clone, Deserialize, Serialize)]
#[serde(bound = "")]
pub enum Canvas2dMsg {
Arc(Point2D<f32>, f32, f32, f32, bool),
ArcTo(Point2D<f32>, Point2D<f32>, f32),
Expand Down
1 change: 0 additions & 1 deletion servo/components/gfx/display_list/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,6 @@ impl fmt::Debug for StackingContext {


#[derive(Clone, Deserialize, HeapSizeOf, Serialize)]
#[serde(bound = "")]
pub enum DisplayItem {
SolidColorClass(Box<SolidColorDisplayItem>),
TextClass(Box<TextDisplayItem>),
Expand Down
1 change: 0 additions & 1 deletion servo/components/script_traits/script_msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ pub enum LogEntry {


#[derive(Deserialize, Serialize)]
#[serde(bound = "")]
pub enum ScriptMsg {

ChangeRunningAnimationsState(PipelineId, AnimationState),
Expand Down

0 comments on commit 6c61da9

Please sign in to comment.