Remove testing macros from docs
This commit is contained in:
@@ -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 {
|
||||
);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user