mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-25 23:28:37 -06:00
chg: Change uid to UID
This commit is contained in:
parent
841f877ee8
commit
599b013fc9
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ fn gen_link(style: String, len: usize) -> String {
|
|||
static CHARS: [char; 36] = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x',
|
||||
'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
||||
|
||||
if style == "uid" {
|
||||
if style == "UID" {
|
||||
nanoid!(len, &CHARS)
|
||||
} else {
|
||||
format!(
|
||||
|
|
Loading…
Reference in a new issue