Added errprs.
Some checks failed
MoreThanText/morethantext/pipeline/head There was a failure building this commit
Some checks failed
MoreThanText/morethantext/pipeline/head There was a failure building this commit
This commit is contained in:
@ -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(_) => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user