Skip to content

Commit

Permalink
address 1.74.0 lints (#1463)
Browse files Browse the repository at this point in the history
  • Loading branch information
demoray authored Nov 16, 2023
1 parent 569d7a8 commit 6671dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/test/mock_transport/src/recorder_policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Policy for MockTransportRecorderPolicy {
{
let mut request_contents_stream = std::fs::File::create(&request_path).unwrap();
request_contents_stream
.write_all(request_contents.as_str().as_bytes())
.write_all(request_contents.as_bytes())
.context(ErrorKind::MockFramework, "cannot write request file")?;
}

Expand Down

0 comments on commit 6671dd3

Please sign in to comment.