diff --git a/README.md b/README.md
index c73ef9b..6b212e7 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,13 @@ include_toc: true
gitea: none
---
-# phundrak.com Backend
+
Bakit
+
+
+ A backend for my personal website
+
+
+
-The backend for [phundrak.com](https://phundrak.com), built with Rust and the [Poem](https://github.com/poem-web/poem) web framework.
-
## Features
- **RESTful API** with automatic OpenAPI/Swagger documentation
diff --git a/src/route/contact/errors.rs b/src/route/contact/errors.rs
index 2eeee09..7d80b79 100644
--- a/src/route/contact/errors.rs
+++ b/src/route/contact/errors.rs
@@ -268,7 +268,7 @@ mod tests {
#[test]
fn from_validation_errors_with_name_error() {
- use validator::{Validate, ValidationError};
+ use validator::Validate;
#[derive(Validate)]
struct TestStruct {
diff --git a/src/route/contact/mod.rs b/src/route/contact/mod.rs
index 959b9d7..c5f67bd 100644
--- a/src/route/contact/mod.rs
+++ b/src/route/contact/mod.rs
@@ -933,7 +933,7 @@ mod tests {
assert!(result.is_err());
match result.unwrap_err() {
ContactError::CouldNotParseSettingsEmail(_) => (),
- e => panic!("Expected CouldNotParseSettingsEmail, got {:?}", e),
+ e => panic!("Expected CouldNotParseSettingsEmail, got {e:?}"),
}
}
@@ -964,7 +964,7 @@ mod tests {
assert!(result.is_err());
match result.unwrap_err() {
ContactError::CouldNotParseRequestEmailAddress(_) => (),
- e => panic!("Expected CouldNotParseRequestEmailAddress, got {:?}", e),
+ e => panic!("Expected CouldNotParseRequestEmailAddress, got {e:?}"),
}
}
@@ -996,7 +996,7 @@ mod tests {
assert!(result.is_err());
match result.unwrap_err() {
ContactError::CouldNotSendEmail(_) => (),
- e => panic!("Expected CouldNotSendEmail, got {:?}", e),
+ e => panic!("Expected CouldNotSendEmail, got {e:?}"),
}
}
}