Browse Source

set doc attribute on Exchange variants

master
Jonathan Strong 4 months ago
parent
commit
64e9a48e89
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/crypto.rs

+ 4
- 1
src/crypto.rs View File

@@ -703,7 +703,10 @@ macro_rules! make_exchange {
#[allow(non_camel_case_types)]
#[repr(u8)]
pub enum Exchange {
$($ticker = $code),*
$(
#[doc = $name]
$ticker = $code
),*
}

impl Exchange {


Loading…
Cancel
Save