[librsvg: 7/15] PathBuilder does not need to impl Clone




commit 026465e61f161a04cf1a482f2f96ce92f9b138dd
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Dec 1 14:39:28 2020 -0600

    PathBuilder does not need to impl Clone

 src/path_builder.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/path_builder.rs b/src/path_builder.rs
index 5377d8c5..5e9b6ace 100644
--- a/src/path_builder.rs
+++ b/src/path_builder.rs
@@ -435,7 +435,7 @@ impl PathCommand {
 ///
 /// When you are finished constructing a path builder, turn it into
 /// a `Path` with `into_path`.
-#[derive(Clone, Default)]
+#[derive(Default)]
 pub struct PathBuilder {
     path_commands: TinyVec<[PathCommand; 32]>,
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]