projects
/
ldk-sample
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Align `rustfmt.toml` with `rust-lightning`
[ldk-sample]
/
src
/
sweep.rs
diff --git
a/src/sweep.rs
b/src/sweep.rs
index b4ee017914f57d7f1a90a44084bbb9f7a374213d..fbfa62c97c41c1b6ab5d69bed5e83c6cc7e5ac22 100644
(file)
--- a/
src/sweep.rs
+++ b/
src/sweep.rs
@@
-101,7
+101,7
@@
pub(crate) async fn periodic_sweep(
match file.read_exact(&mut [0; 1]) {
Ok(_) => {
file.seek(SeekFrom::Current(-1)).unwrap();
- }
+ }
,
Err(e) if e.kind() == io::ErrorKind::UnexpectedEof => break,
Err(e) => Err(e).unwrap(),
}