Skip to content

Commit

Permalink
Update macros.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tbraun96 authored Oct 22, 2023
1 parent edc5988 commit b9b229f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oqs/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ macro_rules! newtype_buffer {

impl<'a> $name_ref<'a> {
/// Construct a new container around this reference version
fn new(bytes: &'a [u8]) -> $name_ref<'a> {
pub fn new(bytes: &'a [u8]) -> $name_ref<'a> {
$name_ref { bytes }
}

Expand Down

0 comments on commit b9b229f

Please sign in to comment.