diff --git a/RELEASES.md b/RELEASES.md index 51ee747b..7ac221f8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,6 +1,6 @@ # 0.6.4 * Removed uneeded DataNumber Parsing for Durations. -* Explicity rename methods DurationMicros and DurationNanos into DurationMicrosNTP and DurationNanosNTP +* Explicity rename methods DurationMicros and DurationNanos into DurationMicrosNTP and DurationNanosNTP. # 0.6.3 * Ipfix dateTimeNanoseconds and dateTimeMicroseconds use the NTP 64 bit time format #15 diff --git a/src/variable_versions/v9.rs b/src/variable_versions/v9.rs index adf259c2..6ef5ed17 100644 --- a/src/variable_versions/v9.rs +++ b/src/variable_versions/v9.rs @@ -250,10 +250,10 @@ pub struct OptionsTemplate { /// This field gives the length (in bytes) of any Options field definitions that are contained in this options template pub options_length: u16, /// Options Scope Fields - #[nom(Count = "usize::from((options_scope_length.saturating_div(4)))")] + #[nom(Count = "usize::from(options_scope_length.saturating_div(4))")] pub scope_fields: Vec, /// Options Fields - #[nom(Count = "usize::from((options_length.saturating_div(4)))")] + #[nom(Count = "usize::from(options_length.saturating_div(4))")] pub option_fields: Vec, }