From cddebad04faef4157c8d4b2299dad711ee9449dc Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Mon, 12 Aug 2024 16:35:51 -0600 Subject: [PATCH] fix: variable name --- src/raw/header.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/raw/header.rs b/src/raw/header.rs index e85acb56..864c92bc 100644 --- a/src/raw/header.rs +++ b/src/raw/header.rs @@ -412,9 +412,9 @@ impl Header { )?; } if self.version.supports::() { - let elvr = self.evlr.unwrap_or_default(); - write.write_u64::(elvr.start_of_first_evlr)?; - write.write_u32::(elvr.number_of_evlrs)?; + let evlr = self.evlr.unwrap_or_default(); + write.write_u64::(evlr.start_of_first_evlr)?; + write.write_u32::(evlr.number_of_evlrs)?; } if self.version.supports::() { let large_file = self.large_file.unwrap_or_default();