]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Remove note about `std`/`no-std` scorer serialization compat
authorMatt Corallo <git@bluematt.me>
Fri, 16 Aug 2024 20:46:37 +0000 (20:46 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 21 Aug 2024 14:11:01 +0000 (14:11 +0000)
In 81389dee306d960a8030bec5ffa304004148ce85 we removed a note about
mixing the `std` and `no-std` feature when de/serializing
`ProbabilisticScorer`s but forgot to note that there was a second
copy of that note in the module documentation.

This removes that note.

lightning/src/routing/scoring.rs

index adf702571368f181231be9972622010dbff8a44e..480cbc5b3662cdb93a5740a68db7140602f1213b 100644 (file)
 //! # }
 //! ```
 //!
-//! # Note
-//!
-//! Persisting when built with feature `no-std` and restoring without it, or vice versa, uses
-//! different types and thus is undefined.
-//!
 //! [`find_route`]: crate::routing::router::find_route
 
 use crate::ln::msgs::DecodeError;