Skip to content

Commit 8feb28c

Browse files
committed
Clippify
1 parent 31c2346 commit 8feb28c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/twix/src/panels/automatic_camera_calibration_export.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ impl Widget for &mut AutomaticCameraCalibrationExportPanel {
8484
}
8585
}
8686

87-
fn serialize_and_call<V: serde::Serialize, T: FnOnce(serde_json::Value) -> ()>(
88-
data: V,
89-
callback: T,
90-
) {
87+
fn serialize_and_call<V: serde::Serialize, T: FnOnce(serde_json::Value)>(data: V, callback: T) {
9188
match serde_json::to_value(data) {
9289
Ok(value) => {
9390
callback(value);

0 commit comments

Comments
 (0)