]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Make links in message signing docs rustdoc links
authorMatt Corallo <git@bluematt.me>
Thu, 17 Jun 2021 15:49:17 +0000 (15:49 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 17 Jun 2021 16:58:59 +0000 (16:58 +0000)
Latest rustc warns that "this URL is not a hyperlink" and notes that
"bare URLs are not automatically turned into clickable links". This
resolves those warnings.

Thanks to Joshua Nelson for pointing out the correct syntax for
this.

lightning/src/util/message_signing.rs

index c39da1d533e51b7fbc0f94f30b1947040139be54..69c802e7a0ab45a89bc904afa88f784fc8d061d1 100644 (file)
 //! Note this is not part of the specs, but follows lnd's signing and verifying protocol, which can is defined as follows:
 //!
 //! signature = zbase32(SigRec(sha256d(("Lightning Signed Message:" + msg)))
-//! zbase32 from https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
+//! zbase32 from <https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt>
 //! SigRec has first byte 31 + recovery id, followed by 64 byte sig.
 //!
 //! This implementation is compatible with both lnd's and c-lightning's
 //!
-//! https://lightning.readthedocs.io/lightning-signmessage.7.html
-//! https://api.lightning.community/#signmessage
+//! <https://lightning.readthedocs.io/lightning-signmessage.7.html>
+//! <https://api.lightning.community/#signmessage>
 
 use prelude::*;
 use crate::util::zbase32;