Skip to content

Commit

Permalink
Fix cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
weitsang committed May 27, 2024
1 parent a31c804 commit a976729
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/formats/pointxyzrgba.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use std::cmp::Ordering;
use serde::{
ser::{Serialize, SerializeStruct, Serializer},
Deserialize,
};
use std::cmp::Ordering;
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq, bytemuck::Pod, bytemuck::Zeroable, Deserialize)]
pub struct PointXyzRgba {
Expand Down Expand Up @@ -32,7 +32,6 @@ impl Ord for PointXyzRgba {

impl Eq for PointXyzRgba {}


impl Serialize for PointXyzRgba {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
Expand Down
4 changes: 3 additions & 1 deletion src/pipeline/subcommands/upsample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ use std::time::Instant;
use crate::{
pipeline::{channel::Channel, PipelineMessage},
reconstruct::poisson_reconstruct::reconstruct,
upsample::{interpolate::upsample, interpolate::upsample_grid, upsample_methods::UpsampleMethod},
upsample::{
interpolate::upsample, interpolate::upsample_grid, upsample_methods::UpsampleMethod,
},
};

use super::Subcommand;
Expand Down

0 comments on commit a976729

Please sign in to comment.