Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust clippy #1276

Merged
merged 1 commit into from
Dec 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions rust/sbp/src/swiftnav_conversions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@ impl TryFrom<messages::observation::MsgEphemerisGal> for swiftnav::ephemeris::Ep
eph.w,
eph.inc,
eph.inc_dot,
eph.af0 as f64,
eph.af1 as f64,
eph.af0,
eph.af1,
eph.af2 as f64,
eph.toc.try_into()?,
eph.iodc,
eph.iode as u16,
eph.iode,
),
))
}
Expand Down
2 changes: 1 addition & 1 deletion rust/sbp2json/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ pub fn test_round_trip<F1, F2, F3>(
del_test_output.add_test_output(&output_path);

let input_file =
File::open(&input_path).expect("could not open second transform input file");
File::open(input_path).expect("could not open second transform input file");
let output_file =
File::create(&output_path).expect("could not create second transform output file");

Expand Down