From b9b229fdf1d17b1d723865e40881546020cb383a Mon Sep 17 00:00:00 2001 From: Thomas Braun <38082993+tbraun96@users.noreply.github.com> Date: Sun, 22 Oct 2023 08:32:26 -0400 Subject: [PATCH] Update macros.rs --- oqs/src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oqs/src/macros.rs b/oqs/src/macros.rs index fce3be7c2c..baeb9c45cf 100644 --- a/oqs/src/macros.rs +++ b/oqs/src/macros.rs @@ -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 } }