summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-08-29 19:51:26 -0500
committerFederico Mena Quintero <federico@gnome.org>2022-08-29 19:51:26 -0500
commitb50d07a76cbc278bda636bf1fcc61776512c64ae (patch)
tree76fdb866cb46820c505249d1d0e1150d294dd238
parent72a5138804110fd9ce9f03bf8de321f7ab898750 (diff)
downloadlibrsvg-b50d07a76cbc278bda636bf1fcc61776512c64ae.tar.gz
Document a method
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
-rw-r--r--src/document.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/document.rs b/src/document.rs
index e1060088..28d92875 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,