Skip to content

Commit

Permalink
into_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jan 14, 2024
1 parent 7fee13b commit 958e7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ impl TracedResponse {
}
}

pub async fn into_body(self) -> Result<axum::body::Bytes, Error> {
pub async fn into_bytes(self) -> Result<axum::body::Bytes, Error> {
Ok(self.resp.into_body().collect().await?.to_bytes())
}
}
Expand Down

0 comments on commit 958e7f6

Please sign in to comment.