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 Jun 21, 2022
1 parent 9a41038 commit 28ea090
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 28ea090

Please sign in to comment.