[librsvg: 2/23] Remove obsolete comment; there is no Lighting trait anymore




commit 3cee484887ddb8f915db18cacc8421c32b3ae10d
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Mar 11 11:29:49 2021 -0600

    Remove obsolete comment; there is no Lighting trait anymore

 src/filters/lighting.rs | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/filters/lighting.rs b/src/filters/lighting.rs
index 68ab634a..217feb07 100644
--- a/src/filters/lighting.rs
+++ b/src/filters/lighting.rs
@@ -449,8 +449,6 @@ impl FeSpecularLighting {
     }
 }
 
-// We cannot use a blanket impl<T: Lighting> Filter for T because we do
-// not want to make the Lighting trait public, so we use a macro
 macro_rules! impl_lighting_filter {
     ($lighting_type:ty, $alpha_func:ident) => {
         impl FilterRender for $lighting_type {


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