cargo fmt
This commit is contained in:
parent
b03f585661
commit
6c8c8537a7
@ -67,7 +67,7 @@ pub(crate) fn source_buffer_large_enough<E>(cap: usize, len: usize) -> Result<()
|
||||
|
||||
#[cfg(test)]
|
||||
pub(crate) mod tests {
|
||||
use spacepackets::tm::{PusTm, GenericPusTmSecondaryHeader};
|
||||
use spacepackets::tm::{GenericPusTmSecondaryHeader, PusTm};
|
||||
use spacepackets::CcsdsPacket;
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Clone)]
|
||||
|
@ -57,11 +57,14 @@ impl From<ResultU16Info> for ResultU16InfoSerializable {
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
pub mod stdmod {
|
||||
use std::fs::File;
|
||||
use super::*;
|
||||
use std::fs::File;
|
||||
use std::io;
|
||||
|
||||
pub fn print_resultcodes_as_csv(writer_builder: csv::WriterBuilder, codes: &[ResultU16Info]) -> Result<(), csv::Error> {
|
||||
pub fn print_resultcodes_as_csv(
|
||||
writer_builder: csv::WriterBuilder,
|
||||
codes: &[ResultU16Info],
|
||||
) -> Result<(), csv::Error> {
|
||||
let mut wtr = writer_builder.from_writer(io::stdout());
|
||||
for result in codes {
|
||||
wtr.serialize(ResultU16InfoSerializable::from(*result))?;
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 13be7ca1e7b7cca8a9604fcbbf4bd8791ee02ac7
|
||||
Subproject commit 3a71b00198566d009f4f08e69cf61d48ccc14bcd
|
Loading…
x
Reference in New Issue
Block a user