From 99189e55a2fe4b14e269015f73b8d30a8e45ef2c Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 2 Nov 2019 05:39:21 +0100 Subject: get_urls_from_pdf: Add a short doc string --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index d84ecea..227911a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,6 +11,7 @@ use lopdf::{Document, Object}; use errors::Result; +/// Given a file path to a PDF, return a Vec of all URLs in the document. pub fn get_urls_from_pdf>(path: P) -> Result> { let doc = Document::load(path)?; -- cgit v1.2.3