Skip to content

Commit

Permalink
Merge pull request #258 from sine-fdn/martin/clippy-fix-4
Browse files Browse the repository at this point in the history
fix: clippy warnings
  • Loading branch information
zeitgeist authored Feb 13, 2025
2 parents 7db7f3e + 7d15e80 commit bf0d8cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tandem_http_client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ impl TandemClient {
Self { url: url.clone() }
}

async fn new_session<'a, 'b>(
&'a self,
async fn new_session(
&self,
circuit: &Circuit,
source_code: String,
function: String,
Expand Down
2 changes: 1 addition & 1 deletion tandem_http_server/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub(crate) fn delete_session(engine_id: String, r: &State<EngineRegistry>) -> Re
}

#[post("/<engine_id>", data = "<messages>")]
pub(crate) async fn dialog<'a>(
pub(crate) async fn dialog(
engine_id: String,
messages: Data<'_>,
registry: &State<EngineRegistry>,
Expand Down

0 comments on commit bf0d8cf

Please sign in to comment.