Add $crate:: metavariable to the oid! macro #25

Merged
randombit merged 1 commits from jack/add-crate into master 2021-06-24 19:30:56 -07:00

View File

@@ -286,9 +286,9 @@ macro_rules! oid {
let mut res = Vec::new();
$(
res.push(BigUint::from($e as u64));
res.push($crate::BigUint::from($e as u64));
)*
OID::new(res)
$crate::OID::new(res)
}};
}