diff options
| author | Martin Haug <mhaug@live.de> | 2021-05-26 22:52:02 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-05-26 22:57:29 +0200 |
| commit | e27f6c10146240a6c8b92930b27948083f08c9b5 (patch) | |
| tree | 4b1d1fb574dfa164a76f758f989af04b8897cf6c /src/pdf | |
| parent | 14f093bfee3d0871d9796a0dcaf1648b76010930 (diff) | |
Add hash impls for all nodes
This prepares the incremental PR.
Co-Authored-By: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'src/pdf')
| -rw-r--r-- | src/pdf/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdf/mod.rs b/src/pdf/mod.rs index 763dc769..1769e2ae 100644 --- a/src/pdf/mod.rs +++ b/src/pdf/mod.rs @@ -132,7 +132,7 @@ impl<'a> PdfExporter<'a> { // We only write font switching actions when the used face changes. To // do that, we need to remember the active face. let mut face = FaceId::MAX; - let mut size = Length::ZERO; + let mut size = Length::zero(); let mut fill: Option<Fill> = None; for (pos, element) in &page.elements { |
