[librsvg: 15/18] Images: make methods private



commit f1478294d4f06b77ef1311b158f88e2c1d78420f
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Dec 6 19:19:18 2019 -0600

    Images: make methods private

 rsvg_internals/src/document.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rsvg_internals/src/document.rs b/rsvg_internals/src/document.rs
index d709f9b7..d541f191 100644
--- a/rsvg_internals/src/document.rs
+++ b/rsvg_internals/src/document.rs
@@ -145,13 +145,13 @@ struct Images {
 }
 
 impl Images {
-    pub fn new() -> Images {
+    fn new() -> Images {
         Images {
             images: Default::default(),
         }
     }
 
-    pub fn lookup(
+    fn lookup(
         &mut self,
         load_options: &LoadOptions,
         href: &str,


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