Add lib.rs, scaffold testing
This commit is contained in:
parent
99d05223d7
commit
d9a6938eb6
11 changed files with 57 additions and 14 deletions
|
|
@ -45,6 +45,7 @@ fn make_body(code: Option<u16>, message: Option<&str>) -> String {
|
|||
.0
|
||||
}
|
||||
|
||||
#[expect(clippy::unused_async)]
|
||||
pub async fn not_found() -> Response<Body> {
|
||||
by_code(
|
||||
Some(404),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue