Skip to content

Commit cd422e0

Browse files
committed
revert lint.yml
1 parent 2254549 commit cd422e0

File tree

4 files changed

+291
-291
lines changed

4 files changed

+291
-291
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: rustup show
3434

3535
- name: Cargo fmt
36-
run: cargo +stable fmt --all -- --check
36+
run: cargo +nightly fmt --all -- --check
3737

3838
- uses: actions-rs/cargo@v1
3939
name: "Udeps Installation"

hyperspace/core/src/command.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,14 +363,14 @@ impl QueryPacketsCmd {
363363
} else {
364364
println!("Packet {sequence} was not acknowledged on {name_a}");
365365
}
366-
continue;
366+
continue
367367
}
368368
let sent_packets = chain_a
369369
.query_send_packets(channel_id.clone(), port_id.clone(), vec![sequence])
370370
.await?;
371371
if sent_packets.is_empty() {
372372
println!("Packet {sequence} not found");
373-
continue;
373+
continue
374374
}
375375
for packet_info in sent_packets {
376376
let seq = packet_info.sequence;
@@ -385,7 +385,7 @@ impl QueryPacketsCmd {
385385
.pop();
386386
if received.is_none() {
387387
println!("Packet {seq} ({name_a}->{name_b}) was not received");
388-
continue;
388+
continue
389389
}
390390

391391
println!("Received packet {seq} ({name_a}->{name_b}) {received:?}");

0 commit comments

Comments
 (0)