From: Matt Corallo Date: Fri, 16 Aug 2024 20:46:37 +0000 (+0000) Subject: Remove note about `std`/`no-std` scorer serialization compat X-Git-Tag: v0.0.124-rc1~18^2~4 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=1c83e612adcde38f1d92d3e97885ad2793676167;p=rust-lightning Remove note about `std`/`no-std` scorer serialization compat 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. --- diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index adf702571..480cbc5b3 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -49,11 +49,6 @@ //! # } //! ``` //! -//! # 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;