Renames headproc to more descriptive headparse

This commit is contained in:
Misha Vicha
2025-10-01 10:12:08 +02:00
parent 4982aaa59f
commit 5735a3b0b5
2 changed files with 2 additions and 2 deletions

View File

@@ -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)