mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-28 06:23:08 -08:00
chore: Use naming scheme without rosenpass- for crates
This commit is contained in:
committed by
Karolin Varner
parent
3ddf736b60
commit
86300ca936
8
util/src/ord.rs
Normal file
8
util/src/ord.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
// TODO remove this once std::cmp::max becomes const
|
||||
pub const fn max_usize(a: usize, b: usize) -> usize {
|
||||
if a > b {
|
||||
a
|
||||
} else {
|
||||
b
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user