Browse Source
416: Prefer automatic links in docs r=klochowicz a=klochowicz
Automatic links (wrapped inside <>) are automatically turned into clickable
links when you generate documentation
Gets rid of the warnings when you run `cargo doc`
Co-authored-by: Mariusz Klochowicz <mariusz@klochowicz.com>
feature/actor-custom-derive
bors[bot]
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
3 deletions
cfd_protocol/src/interval/digit_decomposition.rs
daemon/src/oracle.rs
daemon/src/wallet.rs
@ -1,7 +1,7 @@
//! Utility functions to decompose numeric outcome values
//!
//! This code has been lifted from:
//! https://github.com/p2pderivatives/rust-dlc/blob/chore%2Ffactor-out-dlc-trie/dlc-trie/src/digit_decomposition.rs
//! < https://github.com/p2pderivatives/rust-dlc/blob/chore%2Ffactor-out-dlc-trie/dlc-trie/src/digit_decomposition.rs>
/// Describes an interval that starts at `prefix || start` and terminates at `prefix || end`.
struct PrefixInterval {
@ -278,7 +278,7 @@ pub struct Announcement {
/// Identifier for an oracle event.
///
/// Doubles up as the path of the URL for this event i.e.
/// https://h00.ooo/{id}.
/// < https://h00.ooo/> {id}.
pub id : BitMexPriceEventId ,
pub expected_outcome_time : OffsetDateTime ,
pub nonce_pks : Vec < schnorrsig ::PublicKey > ,
@ -146,7 +146,7 @@ struct RpcError {
code : i64 ,
}
/// Bitcoin error codes: https://github.com/bitcoin/bitcoin/blob/97d3500601c1d28642347d014a6de1e38f53ae4e/src/rpc/protocol.h#L23
/// Bitcoin error codes: < https://github.com/bitcoin/bitcoin/blob/97d3500601c1d28642347d014a6de1e38f53ae4e/src/rpc/protocol.h#L23>
pub enum RpcErrorCode {
/// Transaction or block was rejected by network rules. Error code -27.
RpcVerifyAlreadyInChain ,