mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
Remove redundant negations from feature check
This commit is contained in:
parent
30c07021d9
commit
a1c3004136
1 changed files with 2 additions and 2 deletions
|
@ -345,10 +345,10 @@ pub(crate) struct PaymentAttemptsUsingTime<T: Time> {
|
|||
|
||||
}
|
||||
|
||||
#[cfg(not(any(not(feature = "std"), test)))]
|
||||
type ConfiguredTime = crate::util::time::MonotonicTime;
|
||||
#[cfg(not(feature = "std"))]
|
||||
type ConfiguredTime = crate::util::time::Eternity;
|
||||
#[cfg(all(feature = "std", not(test)))]
|
||||
type ConfiguredTime = crate::util::time::MonotonicTime;
|
||||
#[cfg(all(feature = "std", test))]
|
||||
type ConfiguredTime = SinceEpoch;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue