Skip to content

Commit

Permalink
Clippy happiness
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherRabotin committed Aug 30, 2023
1 parent 28aea9e commit 617747f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/cosmic/cosm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ impl Cosm {
let splt: Vec<_> = name.split(' ').collect();
if splt[0] == "iau" {
// This is an IAU frame, so the orientation is specified first, and we don't capitalize the ephemeris name
vec![splt[0].to_string(), splt[1..splt.len()].join(" ")].join(" ")
[splt[0].to_string(), splt[1..splt.len()].join(" ")].join(" ")
} else {
// Likely a default center and frame, so let's do some clever guessing and capitalize the words
let frame_name = capitalize(splt[splt.len() - 1]);
Expand All @@ -552,7 +552,7 @@ impl Cosm {
.collect::<Vec<_>>()
.join(" ");

vec![ephem_name, frame_name].join(" ")
[ephem_name, frame_name].join(" ")
}
}
}
Expand Down
1 change: 0 additions & 1 deletion src/od/process/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ pub use crate::od::*;
use crate::propagators::error_ctrl::ErrorCtrl;
use crate::propagators::PropInstance;
pub use crate::time::{Duration, Unit};
use crate::State;
mod conf;
pub use conf::{IterationConf, SmoothingArc};
mod trigger;
Expand Down

0 comments on commit 617747f

Please sign in to comment.