Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
larsnaesbye committed Jan 3, 2024
1 parent fada239 commit 6f6a63c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub fn main() -> Result<(), Error> {
let filepath: String = matches.get_one::<String>("i").unwrap().to_string();
let rinexrec = sbf2rnxrec(filepath);
// write_rnx_file(rinexrec);
return Ok(());
Ok(())
}

fn sbf2rnxrec(filepath: String) -> Rinex {
Expand All @@ -51,7 +51,7 @@ fn sbf2rnxrec(filepath: String) -> Rinex {
}
}

return rrecord;
rrecord
}

fn write_rnx_file(rinexrec: Rinex) {
Expand Down
30 changes: 15 additions & 15 deletions src/sbf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,61 +281,61 @@ const SYSTEM_INFO: i16 = 6000;
// --- Decoding functions ---

fn decode_measepoch(measepochdata: u8) -> u8 {
return measepochdata; // Placeholder
measepochdata // Placeholder
}

fn decode_gpsnav(gpsnavdata: u8) -> u8 {
return gpsnavdata; // Placeholder
gpsnavdata // Placeholder
}

fn decode_galnav(galnavdata: u8) -> u8 {
return galnavdata; // Placeholder
galnavdata // Placeholder
}

fn decode_glonav(glonavdata: u8) -> u8 {
return glonavdata; // Placeholder
glonavdata // Placeholder
}

fn decode_sbasnav(sbasnavdata: u8) -> u8 {
return sbasnavdata; // Placeholder
sbasnavdata // Placeholder
}

fn decode_gpsrawcanav(gpsrawcanavdata: u8) -> u8 {
return gpsrawcanavdata; // Placeholder
gpsrawcanavdata // Placeholder
}

fn decode_georaw(georawdata: u8) -> u8 {
return georawdata; // Placeholder
georawdata // Placeholder
}

fn decode_glorawcanav(glorawcanavdata: u8) -> u8 {
return glorawcanavdata; // Placeholder
glorawcanavdata // Placeholder
}

fn decode_gpsion(gpsiondata: u8) -> u8 {
return gpsiondata; // Placeholder
gpsiondata // Placeholder
}

fn decode_galion(galiondata: u8) -> u8 {
return galiondata; // Placeholder
galiondata // Placeholder
}

fn decode_gpsutc(gpsutcdata: u8) -> u8 {
return gpsutcdata; // Placeholder
gpsutcdata // Placeholder
}

fn decode_gpsalm(gpsalmdata: u8) -> u8 {
return gpsalmdata; // Placeholder
gpsalmdata // Placeholder
}

fn decode_galutc(galutcdata: u8) -> u8 {
return galutcdata; // Placeholder
galutcdata // Placeholder
}

fn decode_galalm(galalmdata: u8) -> u8 {
return galalmdata; // Placeholder
galalmdata // Placeholder
}

fn decode_sbf(sbfdata: u8) -> u8 {
return sbfdata; // Placeholder
sbfdata // Placeholder
}

0 comments on commit 6f6a63c

Please sign in to comment.