Added errprs.
Some checks failed
MoreThanText/morethantext/pipeline/head There was a failure building this commit

This commit is contained in:
2024-11-15 13:37:11 -05:00
parent 2bf495b127
commit 508b8269d0
4 changed files with 55 additions and 3 deletions

View File

@ -33,7 +33,7 @@ impl Table {
None => {
self.fields.insert(name.to_string(), FieldDef::new());
Ok(())
},
}
}
}
}
@ -61,7 +61,7 @@ mod table {
tbl.add_field("one", "id");
match tbl.add_field("one", "id") {
Ok(_) => unreachable!(" Should not duplicates."),
Err(_) => {},
Err(_) => {}
}
}
}