diff --git a/src/macros.rs b/src/macros.rs index fb981ee..c007cea 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -6,6 +6,7 @@ /// Handles the testing of a buffers size and returning the correct /// error if a buffer does not have the correct amount of bytes. +#[macro_export] macro_rules! check_length { // This tests for the buffers length being less than the min value.