refactor(api): remove unnecessary replace statement
This commit is contained in:
parent
045897fc7b
commit
c4b47c86d5
@ -211,7 +211,7 @@ pub fn get_header(record: &StringRecord) -> Header {
|
|||||||
.position(|x| !x.is_empty())
|
.position(|x| !x.is_empty())
|
||||||
.unwrap_or(record.len());
|
.unwrap_or(record.len());
|
||||||
|
|
||||||
let field = field.replace("ì", "i").replace(" ", "").to_uppercase();
|
let field = field.replace(" ", "").to_uppercase();
|
||||||
|
|
||||||
if field == "DOCENTE" {
|
if field == "DOCENTE" {
|
||||||
docente = i as u8;
|
docente = i as u8;
|
||||||
|
Loading…
Reference in New Issue
Block a user