use core include for AddAssign
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2023-01-15 20:28:35 +01:00
parent b2def8cd36
commit ed850b1df4
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -11,10 +11,9 @@ use alloc::boxed::Box;
use chrono::Datelike; use chrono::Datelike;
use core::any::Any; use core::any::Any;
use core::fmt::Debug; use core::fmt::Debug;
use core::ops::Add; use core::ops::{Add, AddAssign};
use core::time::Duration; use core::time::Duration;
use delegate::delegate; use delegate::delegate;
use std::ops::AddAssign;
/// Base value for the preamble field for a time field parser to determine the time field type. /// Base value for the preamble field for a time field parser to determine the time field type.
pub const P_FIELD_BASE: u8 = (CcsdsTimeCodes::Cds as u8) << 4; pub const P_FIELD_BASE: u8 = (CcsdsTimeCodes::Cds as u8) << 4;