Change enum type to i64

This commit is contained in:
Bradlee Speice 2019-05-06 12:24:42 -04:00
parent 94ae155a5b
commit 2b9fe2f3fe

View File

@ -12,7 +12,7 @@ pub enum KError<'a> {
MissingRoot,
MissingParent,
UnexpectedContents { actual: &'a [u8] },
UnknownVariant(u64),
UnknownVariant(i64),
}
pub type KResult<'a, T> = Result<T, KError<'a>>;