Skip to content

Commit d488858

Browse files
committed
rustfmt: Prepare lightning/src/ln/features.rs
1 parent 46cb5ff commit d488858

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/features.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ use crate::ln::msgs::DecodeError;
2222
use crate::util::ser::{Writer, Readable, Writeable, WithoutLength};
2323

2424
fn write_be<W: Writer>(w: &mut W, le_flags: &[u8]) -> Result<(), io::Error> {
25-
for f in le_flags.iter().rev() { // Swap back to big-endian
25+
// Swap back to big-endian
26+
for f in le_flags.iter().rev() {
2627
f.write(w)?;
2728
}
2829
Ok(())

0 commit comments

Comments
 (0)