aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Klein2018-06-05 13:32:39 +0200
committerMarkus Klein2018-06-05 13:32:39 +0200
commite55ee0393cde9cd49cd41c3872d658de89408440 (patch)
tree9fe8a404b34eb21cb83e867096878b12956372f8
parent8901a6743905fe1d5edfeb3b7bd837c8870b28a5 (diff)
downloadpdf_form-e55ee0393cde9cd49cd41c3872d658de89408440.tar.bz2
update doc
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b60aeff..b3d925a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -106,14 +106,14 @@ impl PdfObjectDeref for Object {
impl Form {
/// Takes a reader containing a PDF with a fillable form, analyzes the content, and attempts to
- /// identify all of the fields the form has. This is the only way to create a `Form`
+ /// identify all of the fields the form has.
pub fn load_from<R: io::Read>(reader: R) -> Result<Self, LoadError> {
let doc = Document::load_from(reader)?;
Self::load_doc(doc)
}
/// Takes a path to a PDF with a fillable form, analyzes the file, and attempts to identify all
- /// of the fields the form has. This is the only way to create a `Form`
+ /// of the fields the form has.
pub fn load<P: AsRef<Path>>(path: P) -> Result<Self, LoadError> {
let doc = Document::load(path)?;
Self::load_doc(doc)