fix trailing whitespace in main.rs
This commit is contained in:
parent
c8ede5ee6b
commit
a06099710f
@ -56,7 +56,7 @@ async fn create(state: &State<Mutex<GlobalState>>, url: &str, secret: Option<&st
|
|||||||
if actual_len < 1 || actual_len > 64 {
|
if actual_len < 1 || actual_len > 64 {
|
||||||
return (Status::BadRequest, "invalid length".to_owned());
|
return (Status::BadRequest, "invalid length".to_owned());
|
||||||
}
|
}
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let link_id = if !custom_link {
|
let link_id = if !custom_link {
|
||||||
linkgen::generate_link_id(actual_len)
|
linkgen::generate_link_id(actual_len)
|
||||||
|
Loading…
Reference in New Issue
Block a user