Skip to content

Commit 997e46b

Browse files
committed
rustfmt: fuzz/src/fromstr_to_netaddress.rs
1 parent 39cc28b commit 997e46b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

fuzz/src/fromstr_to_netaddress.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// You may not use this file except in accordance with one or both of these
88
// licenses.
99

10-
use lightning::ln::msgs::SocketAddress;
1110
use core::str::FromStr;
11+
use lightning::ln::msgs::SocketAddress;
1212

1313
use crate::utils::test_logger;
1414

@@ -17,7 +17,6 @@ pub fn do_test(data: &[u8]) {
1717
if let Ok(s) = std::str::from_utf8(data) {
1818
let _ = SocketAddress::from_str(s);
1919
}
20-
2120
}
2221

2322
pub fn fromstr_to_netaddress_test<Out: test_logger::Output>(data: &[u8], _out: Out) {
@@ -28,4 +27,3 @@ pub fn fromstr_to_netaddress_test<Out: test_logger::Output>(data: &[u8], _out: O
2827
pub extern "C" fn fromstr_to_netaddress_run(data: *const u8, datalen: usize) {
2928
do_test(unsafe { std::slice::from_raw_parts(data, datalen) });
3029
}
31-

rustfmt_excluded_files

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
./bench/benches/bench.rs
22
./fuzz/src/chanmon_consistency.rs
3-
./fuzz/src/fromstr_to_netaddress.rs
43
./fuzz/src/full_stack.rs
54
./fuzz/src/indexedmap.rs
65
./fuzz/src/invoice_deser.rs

0 commit comments

Comments
 (0)