Skip to content

Commit aba246d

Browse files
committed
f - Fix compilation errors for older versions
1 parent df37cc4 commit aba246d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/scorer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ struct ChannelFailure<T: Time> {
125125
}
126126

127127
/// A measurement of time.
128-
pub trait Time: Sub<Duration, Output = Self> {
128+
pub trait Time: Sub<Duration, Output = Self> where Self: Sized {
129129
/// Returns an instance corresponding to the current moment.
130130
fn now() -> Self;
131131

0 commit comments

Comments
 (0)