Fix the various lints (#1124)

This commit is contained in:
Micah
2025-10-10 13:00:56 -07:00
committed by GitHub
parent beb497878b
commit f3c423d77d
8 changed files with 24 additions and 83 deletions

View File

@@ -160,7 +160,7 @@ impl TestServeSession {
Ok(serde_json::from_str(&body).expect("Server returned malformed response"))
}
pub fn get_api_read(&self, id: Ref) -> Result<ReadResponse, reqwest::Error> {
pub fn get_api_read(&self, id: Ref) -> Result<ReadResponse<'_>, reqwest::Error> {
let url = format!("http://localhost:{}/api/read/{}", self.port, id);
let body = reqwest::blocking::get(url)?.text()?;