[librsvg: 2/4] Don't derive(Clone) for PaintSource now that it is not cloned
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 2/4] Don't derive(Clone) for PaintSource now that it is not cloned
- Date: Thu, 22 Sep 2022 17:19:49 +0000 (UTC)
commit 0b107efdbc72ab284c9c5b3b0122e37b8572e560
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Sep 21 17:25:30 2022 -0500
Don't derive(Clone) for PaintSource now that it is not cloned
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/750>
src/paint_server.rs | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/paint_server.rs b/src/paint_server.rs
index 2395aee98..e9832bd30 100644
--- a/src/paint_server.rs
+++ b/src/paint_server.rs
@@ -50,7 +50,6 @@ pub enum PaintServer {
///
/// Use [`PaintSource.to_user_space`](#method.to_user_space) to turn this into a
/// [`UserSpacePaintSource`].
-#[derive(Clone)]
pub enum PaintSource {
None,
Gradient(ResolvedGradient, Option<cssparser::RGBA>),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]