Skip to content

Commit

Permalink
Minor fix for newest stable clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
  • Loading branch information
bwoebi committed Sep 5, 2024
1 parent 6ae62d9 commit 7c0de1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remote-config/src/fetch/test_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl RemoteConfigServer {
async move {
let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap();
let request: ClientGetConfigsRequest = serde_json::from_str(
&String::from_utf8(body_bytes.to_vec()).unwrap(),
core::str::from_utf8(&body_bytes).unwrap(),
)
.unwrap();
let response =
Expand Down

0 comments on commit 7c0de1d

Please sign in to comment.