Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow creating Oid from a u32 in a const context (#1943)
This adds a `const fn` to create an `Oid` from a `u32`. `Oid::from_u32_unchecked` is the only way to do that currently, but it's deprecated and its successor `From::from` is non-const.
- Loading branch information