diff --git a/src/headproc.rs b/src/headparse.rs similarity index 100% rename from src/headproc.rs rename to src/headparse.rs diff --git a/src/main.rs b/src/main.rs index eecae06..e320383 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ use std::{env::{self}, io::Error, path::Path}; use std::fs; -pub mod headproc; // The HEAder PROCessing +pub mod headparse; // The HEAder parsing /// Use for handling possible formats of the WFDB data #[derive(Debug, Clone, Copy)] @@ -32,7 +32,7 @@ fn main() -> Result<(), Error>{ let hea_file_result = fs::read_to_string(filepath); match hea_file_result { Ok(file_data) => { - let header = headproc::parse_header(file_data.as_str()); + let header = headparse::parse_header(file_data.as_str()); dbg!(header); } Err(e) => return Err(e)