Skip to content

Commit a1c3004

Browse files
committed
Remove redundant negations from feature check
1 parent 30c0702 commit a1c3004

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/outbound_payment.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,10 @@ pub(crate) struct PaymentAttemptsUsingTime<T: Time> {
345345

346346
}
347347

348-
#[cfg(not(any(not(feature = "std"), test)))]
349-
type ConfiguredTime = crate::util::time::MonotonicTime;
350348
#[cfg(not(feature = "std"))]
351349
type ConfiguredTime = crate::util::time::Eternity;
350+
#[cfg(all(feature = "std", not(test)))]
351+
type ConfiguredTime = crate::util::time::MonotonicTime;
352352
#[cfg(all(feature = "std", test))]
353353
type ConfiguredTime = SinceEpoch;
354354

0 commit comments

Comments
 (0)