diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-03-14 15:15:09 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-03-14 15:15:09 +0100 |
| commit | 9b3386f8a3c023be7f948c484f3b60208b9869d0 (patch) | |
| tree | 18db916bd961a2be5157697fef65cf189262100a /src/pdf.rs | |
| parent | 67b19450347f8c61116f173e27b12c8da160d85d (diff) | |
Hide subengines and improve Compiler API 🕳
Diffstat (limited to 'src/pdf.rs')
| -rw-r--r-- | src/pdf.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ struct Offsets { impl<'a, W: Write> PdfCreator<'a, W> { /// Create a new _PDF_ Creator. - pub fn new(target: &'a mut W, doc: &'a Document) -> PdfResult<PdfCreator<'a, W>> { + pub fn new(doc: &'a Document, target: &'a mut W) -> PdfResult<PdfCreator<'a, W>> { // Calculate a unique id for all object to come let catalog = 1; let page_tree = catalog + 1; |
