Skip to content

Commit

Permalink
chore: remove unused try_into! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiretza committed May 23, 2022
1 parent af2b77a commit daf79c3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ use sodiumoxide::{

use super::error::{Error, Result};

#[doc(hidden)]
#[macro_export]
macro_rules! try_into {
($x:expr) => {
($x).try_into()
.or(Err(Error::ProgrammingError("Try into failed")))
};
}

pub type StrBase64 = str;
pub type StringBase64 = String;

Expand Down

0 comments on commit daf79c3

Please sign in to comment.