Merge pull request #121 from Felerius/remove-testing-macros-from-docs

Remove testing macros from docs
This commit is contained in:
Marc-Antoine ARNAUD
2021-12-01 17:07:58 +01:00
committed by GitHub

View File

@@ -244,7 +244,6 @@ fn default_visitor() {
}
#[doc(hidden)]
mod testing {
#[macro_export]
macro_rules! test_for_type {
($type:ty, $value:expr, $content:expr) => {{
@@ -268,6 +267,7 @@ mod testing {
}};
}
#[doc(hidden)]
#[macro_export]
macro_rules! test_for_attribute_type {
($type: ty, $value: expr, $content: expr) => {{
@@ -290,6 +290,7 @@ mod testing {
}};
}
#[doc(hidden)]
#[macro_export]
macro_rules! deserialize_and_validate {
($content: expr, $model: expr, $struct: tt) => {
@@ -299,6 +300,7 @@ mod testing {
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! serialize_and_validate {
($model: expr, $content: expr) => {
@@ -312,4 +314,3 @@ mod testing {
);
};
}
}