projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pass Record by value to Logger
[rust-lightning]
/
lightning
/
src
/
routing
/
router.rs
diff --git
a/lightning/src/routing/router.rs
b/lightning/src/routing/router.rs
index a2d9f51a38e6a4edc2a8e64c35798c5184e1c5ca..2d8dd0d67e97a553ac547e232d31cedadd1c507d 100644
(file)
--- a/
lightning/src/routing/router.rs
+++ b/
lightning/src/routing/router.rs
@@
-8116,7
+8116,7
@@
pub mod benches {
struct DummyLogger {}
impl Logger for DummyLogger {
- fn log(&self, _record:
&
Record) {}
+ fn log(&self, _record: Record) {}
}
pub fn generate_routes_with_zero_penalty_scorer(bench: &mut Criterion) {