cargo fmt + clippy

This commit is contained in:
Robin Müller 2024-04-10 12:51:15 +02:00
parent 02b4a51457
commit 88d1956dbf
Signed by: muellerr
GPG Key ID: A649FB78196E3849
4 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
/// This is a preliminary implementation of the necessary infrastructure to enable communication over OPS-SAT's internal CAN Bus. //! This is a preliminary implementation of the necessary infrastructure to enable communication over OPS-SAT's internal CAN Bus.

View File

@ -1,3 +1,3 @@
pub mod can;
pub mod tcp; pub mod tcp;
pub mod udp; pub mod udp;
pub mod can;

View File

@ -82,6 +82,7 @@ mod tests {
sync::{Arc, Mutex}, sync::{Arc, Mutex},
}; };
use ops_sat_rs::config::{components, OBSW_SERVER_ADDR};
use satrs::{ use satrs::{
spacepackets::{ spacepackets::{
ecss::{tc::PusTcCreator, WritablePusPacket}, ecss::{tc::PusTcCreator, WritablePusPacket},
@ -89,7 +90,6 @@ mod tests {
}, },
tmtc::ReceivesTcCore, tmtc::ReceivesTcCore,
}; };
use ops_sat_rs::config::{components, OBSW_SERVER_ADDR};
use super::*; use super::*;

View File

@ -10,8 +10,8 @@ use satrs::{
use std::sync::mpsc::{self, SendError, Sender, TryRecvError}; use std::sync::mpsc::{self, SendError, Sender, TryRecvError};
use thiserror::Error; use thiserror::Error;
pub mod tm_funnel;
pub mod ccsds; pub mod ccsds;
pub mod tm_funnel;
#[derive(Debug, Clone, PartialEq, Eq, Error)] #[derive(Debug, Clone, PartialEq, Eq, Error)]
pub enum MpscStoreAndSendError { pub enum MpscStoreAndSendError {