fix lint
This commit is contained in:
parent
af0a3ce0c5
commit
da01fee1f8
@ -1,2 +0,0 @@
|
|||||||
[target.aarch64-unknown-linux-gnu]
|
|
||||||
linker = 'aarch64-linux-gnu-gcc'
|
|
@ -104,8 +104,8 @@ async fn main() -> std::io::Result<()> {
|
|||||||
// user_service: &user_service,
|
// user_service: &user_service,
|
||||||
// };
|
// };
|
||||||
|
|
||||||
let addr =
|
let addr = std::env::var("BIND_ADDRESS")
|
||||||
std::env::var("BIND_ADDRESS").unwrap_or("127.0.0.1:7800".to_owned());
|
.unwrap_or_else(|_| "127.0.0.1:7800".to_owned());
|
||||||
info!("Starting server at {}", addr);
|
info!("Starting server at {}", addr);
|
||||||
let private_key = rand::thread_rng().gen::<[u8; 32]>();
|
let private_key = rand::thread_rng().gen::<[u8; 32]>();
|
||||||
let app = move || {
|
let app = move || {
|
||||||
|
Loading…
Reference in New Issue
Block a user