[librsvg] cargo-clippy: path_builder.rs: Copy some enums instead of moving them
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] cargo-clippy: path_builder.rs: Copy some enums instead of moving them
- Date: Thu, 22 Feb 2018 19:55:53 +0000 (UTC)
commit 2c3060324663e39eba7c6990dab33fa424e7de13
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Feb 22 13:52:18 2018 -0600
cargo-clippy: path_builder.rs: Copy some enums instead of moving them
rust/src/path_builder.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rust/src/path_builder.rs b/rust/src/path_builder.rs
index 05fa3c42..ff32c293 100644
--- a/rust/src/path_builder.rs
+++ b/rust/src/path_builder.rs
@@ -5,10 +5,10 @@ use glib::translate::*;
use std::f64;
use std::f64::consts::*;
-#[derive(Debug, PartialEq)]
+#[derive(Debug, Copy, Clone, PartialEq)]
pub struct LargeArc(pub bool);
-#[derive(Debug, PartialEq)]
+#[derive(Debug, Copy, Clone, PartialEq)]
pub enum Sweep {
Negative,
Positive
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]