[librsvg: 12/14] Allow unused variants for Origin, since we are only using Author so far
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 12/14] Allow unused variants for Origin, since we are only using Author so far
- Date: Mon, 11 Nov 2019 23:26:42 +0000 (UTC)
commit 8edc869f309ed58b0aacea4c544d0f80c55b004e
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Nov 11 17:00:12 2019 -0600
Allow unused variants for Origin, since we are only using Author so far
rsvg_internals/src/css.rs | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/rsvg_internals/src/css.rs b/rsvg_internals/src/css.rs
index 9c5fbaa9..0fe1503a 100644
--- a/rsvg_internals/src/css.rs
+++ b/rsvg_internals/src/css.rs
@@ -542,6 +542,7 @@ impl selectors::Element for RsvgElement {
/// Origin for a stylesheet, per https://www.w3.org/TR/CSS22/cascade.html#cascading-order
///
/// This is used when sorting selector matches according to their origin and specificity.
+#[allow(unused)]
#[derive(Copy, Clone, Eq, Ord, PartialEq, PartialOrd)]
pub enum Origin {
UserAgent,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]