Update v0.rs

This commit is contained in:
Tobias Decking 2024-04-14 15:01:04 +02:00 committed by GitHub
parent be7fb2ed55
commit e5cf30cd63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -831,7 +831,7 @@ fn path_generic_args(
/// e.g. `1` becomes `"0_"`, `62` becomes `"Z_"`, etc. /// e.g. `1` becomes `"0_"`, `62` becomes `"Z_"`, etc.
pub(crate) fn push_integer_62(x: u64, output: &mut String) { pub(crate) fn push_integer_62(x: u64, output: &mut String) {
if let Some(x) = x.checked_sub(1) { if let Some(x) = x.checked_sub(1) {
base_n::push_str(x as u128, 62, output); base_n::push_str(x as u128, base_n::ALPHANUMERIC_ONLY, output);
} }
output.push('_'); output.push('_');
} }