Skip to content

Commit

Permalink
Format Rust code using rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 9, 2023
1 parent 576b6f9 commit e5605a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/conn/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl HttpBuilder {
}

let conn_shutdown_token = CancellationToken::new();
let mut buf = [0;24];
let mut buf = [0; 24];
let protocol = if socket.read_exact(&mut buf).await.is_ok() {
if buf == H2_PREFACE {
Protocol::H2
Expand Down

0 comments on commit e5605a3

Please sign in to comment.