Skip to content

Commit

Permalink
CHORE: removed debug for SpectrumReader as not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
sander-willems-bruker committed Sep 18, 2024
1 parent 9704d09 commit 3538d5f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/io/readers/spectrum_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
mod minitdf;
#[cfg(feature = "tdf")]
mod tdf;

use core::fmt;

#[cfg(feature = "minitdf")]
use minitdf::{MiniTDFSpectrumReader, MiniTDFSpectrumReaderError};
use rayon::iter::{IntoParallelIterator, ParallelIterator};
use rayon::prelude::*;
#[cfg(feature = "serialize")]
use serde::{Deserialize, Serialize};
use std::path::{Path, PathBuf};
Expand All @@ -23,12 +20,6 @@ pub struct SpectrumReader {
spectrum_reader: Box<dyn SpectrumReaderTrait>,
}

impl fmt::Debug for SpectrumReader {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "SpectrumReader {{ /* fields omitted */ }}")
}
}

impl SpectrumReader {
pub fn build() -> SpectrumReaderBuilder {
SpectrumReaderBuilder::default()
Expand Down

0 comments on commit 3538d5f

Please sign in to comment.