mirror of
https://github.com/mii443/rs-easy-p2p.git
synced 2025-12-03 03:08:21 +00:00
remove ambiguous characters
This commit is contained in:
@@ -43,7 +43,7 @@ fn app() -> Router {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn generate_connection_code() -> String {
|
fn generate_connection_code() -> String {
|
||||||
const CHARSET: &[u8] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
const CHARSET: &[u8] = b"ABCDEFGHJKLMNPRTUVWXYZ234678";
|
||||||
const CODE_LEN: usize = 6;
|
const CODE_LEN: usize = 6;
|
||||||
let mut rng = rand::thread_rng();
|
let mut rng = rand::thread_rng();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user