Made public.

This commit is contained in:
Paul Masurel
2020-10-20 14:59:41 +09:00
parent 9cc1661ce2
commit 91e92fa8a3

View File

@@ -96,7 +96,7 @@ impl Term {
term
}
pub(crate) fn from_field_bytes(field: Field, bytes: &[u8]) -> Term {
pub fn from_field_bytes(field: Field, bytes: &[u8]) -> Term {
let mut term = Term::for_field(field);
term.set_bytes(bytes);
term