[librsvg: 9/17] Document a method




commit b50d07a76cbc278bda636bf1fcc61776512c64ae
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Aug 29 19:51:26 2022 -0500

    Document a method
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>

 src/document.rs | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/document.rs b/src/document.rs
index e1060088a..28d928759 100644
--- a/src/document.rs
+++ b/src/document.rs
@@ -628,6 +628,7 @@ impl DocumentBuilder {
         self.load_options.url_resolver.resolve_href(href)
     }
 
+    /// Does the final validation on the `Document` being read, and returns it.
     pub fn build(self) -> Result<Document, LoadingError> {
         let DocumentBuilder {
             load_options,


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