Quiet, clippy!
This commit is contained in:
parent
b802372f7a
commit
f6e49ff98f
|
@ -2,7 +2,6 @@
|
|||
name = "hitman"
|
||||
version = "0.0.1"
|
||||
edition = "2021"
|
||||
author = "code@ardent.nebcorp.com"
|
||||
description = "A simple webpage hit counter service."
|
||||
keywords = ["counter", "webpage", "web1.0", "90s"]
|
||||
readme = "README.md"
|
||||
|
|
|
@ -8,7 +8,7 @@ use std::{
|
|||
use axum::{
|
||||
extract::{Path, State},
|
||||
http::{header::REFERER, HeaderMap},
|
||||
routing::{get, MethodRouter},
|
||||
routing::get,
|
||||
Router,
|
||||
};
|
||||
use clap::Parser;
|
||||
|
@ -89,6 +89,8 @@ async fn get_count(
|
|||
.unwrap_or(1)
|
||||
};
|
||||
|
||||
dbg!(count);
|
||||
|
||||
format!("{count}")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue