added doc test / example as well
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
Rust/spacepackets/pipeline/pr-main This commit looks good

This commit is contained in:
2022-12-10 18:09:00 +01:00
parent 1d9329ad63
commit 6341cf35d3
2 changed files with 55 additions and 9 deletions

View File

@ -7,7 +7,6 @@ use core::fmt::{Display, Formatter};
#[cfg(not(feature = "std"))]
use num_traits::float::FloatCore;
use crate::time::cuc::CucError;
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
#[cfg(feature = "std")]
@ -73,7 +72,7 @@ impl From<cds::CdsError> for TimestampError {
}
impl From<cuc::CucError> for TimestampError {
fn from(e: CucError) -> Self {
fn from(e: cuc::CucError) -> Self {
TimestampError::CucError(e)
}
}