Browse Source

remove deprecated

tags/v0.3.0
Jonathan Strong 4 years ago
parent
commit
bfb2d904a5
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      src/crypto.rs

+ 0
- 9
src/crypto.rs View File

@@ -163,9 +163,6 @@ macro_rules! make_currency {
} }
} }


#[deprecated(since="0.2.3", note="Use `as_str()`")]
pub fn to_str(&self) -> &'static str { self.as_str() }

pub fn to_str_uppercase(&self) -> &'static str { pub fn to_str_uppercase(&self) -> &'static str {
match *self { match *self {
$( $(
@@ -424,9 +421,6 @@ macro_rules! make_exchange {
} }
} }


#[deprecated(since="0.2.3", note="Use `as_str()`")]
pub fn to_str(&self) -> &'static str { self.as_str() }

pub fn as_str(&self) -> &'static str { pub fn as_str(&self) -> &'static str {
match *self { match *self {
$( $(
@@ -638,9 +632,6 @@ macro_rules! ticker_to_u8 {
} }
} }


#[deprecated(since="0.2.3", note="Use `as_str()`")]
pub fn to_str(&self) -> &'static str { self.as_str() }

pub fn to_str_uppercase(&self) -> &'static str { pub fn to_str_uppercase(&self) -> &'static str {
match *self { match *self {
$( $(


Loading…
Cancel
Save